Skip warnings for shader types with no fields
このコミットが含まれているのは:
1 親
709197ee43
コミット
43b79bdf4b
9ファイル変更
+46
-16
検索条件に一致するファイルはありません
+3
-3
@@ -8,12 +8,12 @@ namespace ComputeSharp.D2D1.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
[DiagnosticAnalyzer(LanguageNames.CSharp)]
|
||||
public sealed class NotReadonlyPixelShaderTypeAnalyzer : NotReadonlyShaderTypeAnalyzerBase
|
||||
public sealed class NotReadOnlyPixelShaderTypeWithFieldsAnalyzer : NotReadOnlyShaderTypeWithFieldsAnalyzerBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="NotReadonlyPixelShaderTypeAnalyzer"/> instance.
|
||||
/// Creates a new <see cref="NotReadOnlyPixelShaderTypeWithFieldsAnalyzer"/> instance.
|
||||
/// </summary>
|
||||
public NotReadonlyPixelShaderTypeAnalyzer()
|
||||
public NotReadOnlyPixelShaderTypeWithFieldsAnalyzer()
|
||||
: base(NotReadOnlyShaderType, ImmutableArray.Create("ComputeSharp.D2D1.ID2D1PixelShader"))
|
||||
{
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする