File tree 32 files changed +59
-755
lines changed
32 files changed +59
-755
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 19
19
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
20
20
</PropertyGroup >
21
21
22
+ <!-- Necessary polyfills -->
23
+ <PropertyGroup >
24
+ <PolySharpIncludeGeneratedTypes >
25
+ System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute;
26
+ System.Diagnostics.CodeAnalysis.NotNullWhenAttribute;
27
+ System.Runtime.CompilerServices.SkipLocalsInitAttribute;
28
+ </PolySharpIncludeGeneratedTypes >
29
+ </PropertyGroup >
30
+
22
31
</Project >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 34
34
</ItemGroup >
35
35
</When >
36
36
37
- <!-- Enable trimming support on .NET 6 -->
37
+ <!-- For the .NET 6 target, simply define NETSTANDARD2_1_OR_GREATER too -->
38
38
<When Condition =" '$(TargetFramework)' == 'net6.0'" >
39
39
<PropertyGroup >
40
40
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
41
41
</PropertyGroup >
42
42
</When >
43
43
</Choose >
44
44
45
+ <!-- Necessary polyfills -->
46
+ <PropertyGroup >
47
+ <PolySharpIncludeGeneratedTypes >
48
+ System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute;
49
+ System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute;
50
+ System.Diagnostics.CodeAnalysis.NotNullAttribute;
51
+ System.Diagnostics.StackTraceHiddenAttribute;
52
+ System.Runtime.CompilerServices.CallerArgumentExpressionAttribute;
53
+ System.Runtime.CompilerServices.SkipLocalsInitAttribute;
54
+ </PolySharpIncludeGeneratedTypes >
55
+ </PropertyGroup >
56
+
45
57
<ItemGroup >
46
58
<None Update =" Generated\Guard.Comparable.Numeric.tt" >
47
59
<Generator >TextTemplatingFileGenerator</Generator >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 54
54
</When >
55
55
</Choose >
56
56
57
+ <!-- Necessary polyfills -->
58
+ <PropertyGroup >
59
+ <PolySharpIncludeGeneratedTypes >
60
+ System.Diagnostics.CodeAnalysis.NotNullAttribute;
61
+ System.Diagnostics.CodeAnalysis.NotNullWhenAttribute;
62
+ System.Runtime.CompilerServices.SkipLocalsInitAttribute;
63
+ </PolySharpIncludeGeneratedTypes >
64
+ </PropertyGroup >
65
+
57
66
</Project >
You can’t perform that action at this time.
0 commit comments