Switched projects to .NET 6 and C# 10
このコミットが含まれているのは:
1 親
06d5665c13
コミット
964c79e51c
36ファイル変更
+35
-36
検索条件に一致するファイルはありません
+1
-1
@@ -1,7 +1,7 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Company>Sergio Pedri</Company>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<LangVersion>5.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.xml</DocumentationFile>
|
||||
<Description>ComputeSharp</Description>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -12,7 +12,7 @@ void GenerateAllMatrixProperties(string typeName, int elementSize)
|
||||
#>
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,7 @@ void GenerateVectorProperties(string typeName, int elementSize)
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
#if !NET5_0
|
||||
#if !NET6_0
|
||||
using RuntimeHelpers = ComputeSharp.SourceGenerators.Helpers.RuntimeHelpers;
|
||||
using MemoryMarshal = ComputeSharp.SourceGenerators.Helpers.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
@@ -41,7 +41,6 @@ namespace ComputeSharp.Exceptions
|
||||
});
|
||||
|
||||
builder.Append("As a possible workaround on older devices, consider using a texture type of lower rank, or a linear buffer.");
|
||||
builder.ToString();
|
||||
|
||||
return new(builder.ToString());
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする