Add InvalidD2DPixelShaderSourceMethodReturnTypeAnalyzer

このコミットが含まれているのは:
Sergio Pedri committed 2024-01-06 23:01:20 +01:00
1 親 cf4df1b530
コミット d90cd39d66
3ファイル変更
+61 -11

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -40,7 +40,7 @@ public sealed partial class D2DPixelShaderSourceGenerator : IIncrementalGenerato
// Get the remaining info for the current shader
ImmutableArray<ushort> modifiers = methodDeclaration.Modifiers.Select(token => (ushort)token.Kind()).ToImmutableArray();
string methodName = methodSymbol.Name;
string? invalidReturnType = Execute.GetInvalidReturnType(diagnostics, methodSymbol);
string? invalidReturnType = Execute.GetInvalidReturnType(methodSymbol);
string hlslSource = Execute.GetHlslSource(diagnostics, methodSymbol);
D2D1ShaderProfile shaderProfile = Execute.GetShaderProfile(diagnostics, methodSymbol);
D2D1CompileOptions compileOptions = Execute.GetCompileOptions(diagnostics, methodSymbol);