Fix language version in generator tests
このコミットが含まれているのは:
1 親
3fb3891d93
コミット
09212e3aeb
1ファイル変更
+2
-2
@@ -1428,10 +1428,10 @@ public class DiagnosticsTests
|
||||
MetadataReference.CreateFromFile(typeof(D3D12::ComputeSharp.IComputeShader).Assembly.Location)
|
||||
];
|
||||
|
||||
// Parse the source text (C# 11)
|
||||
// Parse the source text (C# 12)
|
||||
SyntaxTree sourceTree = CSharpSyntaxTree.ParseText(
|
||||
source,
|
||||
CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp11));
|
||||
CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12));
|
||||
|
||||
// Create the original compilation
|
||||
CSharpCompilation compilation = CSharpCompilation.Create(
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする