Use new extension to check [SkipLocalsInit] accessibility
このコミットが含まれているのは:
1 親
1aa6633166
コミット
4edc0dc3c3
2ファイル変更
+2
-2
検索条件に一致するファイルはありません
@@ -28,7 +28,7 @@ public sealed partial class IShaderGenerator : IIncrementalGenerator
|
||||
context.CompilationProvider
|
||||
.Select(static (compilation, token) =>
|
||||
compilation.Options is CSharpCompilationOptions { AllowUnsafe: true } &&
|
||||
compilation.GetTypeByMetadataName("System.Runtime.CompilerServices.SkipLocalsInitAttribute") is not null);
|
||||
compilation.HasAccessibleTypeWithMetadataName("System.Runtime.CompilerServices.SkipLocalsInitAttribute"));
|
||||
|
||||
// Check whether or not dynamic shaders are supported
|
||||
IncrementalValueProvider<bool> supportsDynamicShaders =
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする