Skip to content

Commit af8628d

Browse files
authored
Merge pull request #141 from Sergio0694/user/sergiopedri/update-net-sdk
Update .NET SDK
2 parents 59d3cf7 + fb11475 commit af8628d

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4-
<LangVersion>13.0</LangVersion>
4+
<LangVersion>14.0</LangVersion>
55
<Nullable>enable</Nullable>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77

@@ -76,7 +76,7 @@
7676
<Authors>Sergio Pedri</Authors>
7777
<Owners>Sergio Pedri</Owners>
7878
<Company>Sergio Pedri</Company>
79-
<Copyright>Copyright (c) 2023 Sergio Pedri</Copyright>
79+
<Copyright>Copyright (c) 2026 Sergio Pedri</Copyright>
8080
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8181
</PropertyGroup>
8282

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Sergio Pedri
3+
Copyright (c) 2026 Sergio Pedri
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.300",
3+
"version": "10.0.300",
44
"rollForward": "latestFeature",
55
"allowPrerelease": false
66
}

src/PolySharp.SourceGenerators/Helpers/EquatableArray{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public override bool Equals(object? obj)
9393
}
9494

9595
/// <sinheritdoc/>
96-
public override unsafe int GetHashCode()
96+
public override int GetHashCode()
9797
{
9898
if (this.array is not T[] array)
9999
{

tests/PolySharp.InternalsVisibleTo.Tests/PolySharp.InternalsVisibleTo.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks>
55
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
66

77
<!-- Define a constant to change the namespace of the test files -->

tests/PolySharp.NuGet/PolySharp.NuGet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks>
55
<RestoreSources>
66
https://api.nuget.org/v3/index.json;
77
..\..\artifacts;

tests/PolySharp.Tests.UsePublicAccessibility/PolySharp.Tests.UsePublicAccessibility.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Any changes to either of these two test projects should be kept in sync with the other one.
77
-->
88
<PropertyGroup>
9-
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
9+
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks>
1010
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
1111
<PolySharpUsePublicAccessibilityForGeneratedTypes>true</PolySharpUsePublicAccessibilityForGeneratedTypes>
1212
</PropertyGroup>

tests/PolySharp.Tests/PolySharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net481;netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks>
55
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
66
</PropertyGroup>
77

tests/PolySharp.TypeForwards.Tests/PolySharp.TypeForwards.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net48;net481;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net481;net8.0;net9.0;net10.0</TargetFrameworks>
55
<NoWarn>$(NoWarn);CS1591</NoWarn>
66
<PolySharpUsePublicAccessibilityForGeneratedTypes>true</PolySharpUsePublicAccessibilityForGeneratedTypes>
77
</PropertyGroup>

0 commit comments

Comments
 (0)