File tree 38 files changed +126
-801
lines changed
38 files changed +126
-801
lines changed Original file line number Diff line number Diff line change 27
27
<PropertyGroup >
28
28
<SignAssembly >true</SignAssembly >
29
29
<AssemblyOriginatorKeyFile >$(RepositoryDirectory)toolkit.snk</AssemblyOriginatorKeyFile >
30
+ <AssemblySignPublicKey >002400000480000094000000060200000024000052534131000400000100010041753AF735AE6140C9508567666C51C6AB929806ADB0D210694B30AB142A060237BC741F9682E7D8D4310364B4BBA4EE89CC9D3D5CE7E5583587E8EA44DCA09977996582875E71FB54FA7B170798D853D5D8010B07219633BDB761D01AC924DA44576D6180CDCEAE537973982BB461C541541D58417A3794E34F45E6F2D129E2</AssemblySignPublicKey >
30
31
</PropertyGroup >
31
32
32
33
<PropertyGroup >
Original file line number Diff line number Diff line change 17
17
<None Include =" $(RepositoryDirectory)ThirdPartyNotices.txt" Pack =" true" PackagePath =" \" Visible =" False" />
18
18
</ItemGroup >
19
19
20
- <!-- Configure trimming for core projects on .NET 6 and above -->
21
- <PropertyGroup Condition =" '$(IsCoreProject)' == 'true' AND ('$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0')" >
22
- <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
23
- <IsTrimmable >true</IsTrimmable >
24
- </PropertyGroup >
25
-
26
20
</Project >
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 14
14
<PackageTags >Incremental;Loading;Collection;IncrementalLoadingCollection;String;Array;Extensions;Helpers</PackageTags >
15
15
</PropertyGroup >
16
16
17
- <!-- .NET Standard 2.1 and .NET 6 already have [NotNullIfNotNull] and [NotNullWhen] -->
18
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
19
- <DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
17
+ <!-- Necessary polyfills -->
18
+ <PropertyGroup >
19
+ <PolySharpIncludeGeneratedTypes >
20
+ System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute;
21
+ System.Diagnostics.CodeAnalysis.NotNullWhenAttribute;
22
+ System.Runtime.CompilerServices.SkipLocalsInitAttribute;
23
+ </PolySharpIncludeGeneratedTypes >
20
24
</PropertyGroup >
21
25
22
26
</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.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
</PropertyGroup >
16
16
17
17
<Choose >
18
- <When Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
19
18
20
- <!-- .NET Standard 2.0 doesn't have the Span<T> type -->
19
+ <!-- .NET Standard 2.0 doesn't have the Span<T> type -->
20
+ <When Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
21
21
<ItemGroup >
22
22
<PackageReference Include =" System.Memory" Version =" 4.5.5" />
23
23
</ItemGroup >
24
24
</When >
25
25
26
+ <!-- .NET Standard 2.1 doesn't have the Unsafe type -->
26
27
<When Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
27
- <PropertyGroup >
28
- <DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
29
- </PropertyGroup >
30
-
31
- <!-- .NET Standard 2.1 doesn't have the Unsafe type -->
32
28
<ItemGroup >
33
29
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
34
30
</ItemGroup >
35
31
</When >
36
-
37
- <!-- Enable trimming support on .NET 6 -->
38
- <When Condition =" '$(TargetFramework)' == 'net6.0'" >
39
- <PropertyGroup >
40
- <DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
41
- </PropertyGroup >
42
- </When >
43
32
</Choose >
44
33
34
+ <!-- Necessary polyfills -->
35
+ <PropertyGroup >
36
+ <PolySharpIncludeGeneratedTypes >
37
+ System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute;
38
+ System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute;
39
+ System.Diagnostics.CodeAnalysis.NotNullAttribute;
40
+ System.Diagnostics.StackTraceHiddenAttribute;
41
+ System.Runtime.CompilerServices.CallerArgumentExpressionAttribute;
42
+ System.Runtime.CompilerServices.SkipLocalsInitAttribute;
43
+ </PolySharpIncludeGeneratedTypes >
44
+ </PropertyGroup >
45
+
45
46
<ItemGroup >
46
47
<None Update =" Generated\Guard.Comparable.Numeric.tt" >
47
48
<Generator >TextTemplatingFileGenerator</Generator >
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments