File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public static bool TryParse(
25
25
string ? value ,
26
26
out object ? result )
27
27
{
28
- #if NETSTANDARD2_0 || NET472 || NET461
28
+ #if NETSTANDARD2_0 || NET472 || NET462
29
29
try
30
30
{
31
31
result = Enum . Parse ( enumType , value ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup Label =" Build" >
4
- <TargetFrameworks >net7.0;net6.0;netcoreapp3.1; netstandard2.0;net472;net461 </TargetFrameworks >
4
+ <TargetFrameworks >net7.0;net6.0;netstandard2.0;net472;net462 </TargetFrameworks >
5
5
<EmitCompilerGeneratedFiles >True</EmitCompilerGeneratedFiles >
6
6
<CompilerGeneratedFilesOutputPath >$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath >
7
7
<IncludePendingSchemaObjects >True</IncludePendingSchemaObjects >
19
19
<ProjectReference Include =" ../../Tools/Schema.NET.Tool/Schema.NET.Tool.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" />
20
20
</ItemGroup >
21
21
22
- <ItemGroup Label =" Package References (.NET Framework)" Condition =" '$(TargetFramework)' == 'net461 '" >
22
+ <ItemGroup Label =" Package References (.NET Framework)" Condition =" '$(TargetFramework)' == 'net462 '" >
23
23
<PackageReference Include =" System.ValueTuple" Version =" 4.5.0" />
24
24
</ItemGroup >
25
25
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup Label =" Build" >
4
- <TargetFrameworks >net7.0;net6.0;netcoreapp3.1; netstandard2.0;net472;net461 </TargetFrameworks >
4
+ <TargetFrameworks >net7.0;net6.0;netstandard2.0;net472;net462 </TargetFrameworks >
5
5
<EmitCompilerGeneratedFiles >True</EmitCompilerGeneratedFiles >
6
6
<CompilerGeneratedFilesOutputPath >$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath >
7
7
<IncludePendingSchemaObjects >False</IncludePendingSchemaObjects >
19
19
<ProjectReference Include =" ../../Tools/Schema.NET.Tool/Schema.NET.Tool.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" />
20
20
</ItemGroup >
21
21
22
- <ItemGroup Label =" Package References (.NET Framework)" Condition =" '$(TargetFramework)' == 'net461 '" >
22
+ <ItemGroup Label =" Package References (.NET Framework)" Condition =" '$(TargetFramework)' == 'net462 '" >
23
23
<PackageReference Include =" System.ValueTuple" Version =" 4.5.0" />
24
24
</ItemGroup >
25
25
Original file line number Diff line number Diff line change 1
1
namespace Schema . NET . Test ;
2
2
3
- #if NET472 || NET461
3
+ #if NET472 || NET462
4
4
using System ;
5
5
#endif
6
6
using System . IO ;
@@ -10,7 +10,7 @@ namespace Schema.NET.Test;
10
10
11
11
public static class StringExtensions
12
12
{
13
- #if NET472 || NET461
13
+ #if NET472 || NET462
14
14
#pragma warning disable IDE0060 // Remove unused parameter
15
15
public static int GetHashCode ( this string target , StringComparison stringComparison ) => target . GetHashCode ( ) ;
16
16
#pragma warning restore IDE0060 // Remove unused parameter
You can’t perform that action at this time.
0 commit comments