Add necessary parentheses and use target-typed new() expressions
このコミットが含まれているのは:
1 親
b2afb88f30
コミット
553c7a4014
11ファイル変更
+43
-44
検索条件に一致するファイルはありません
@@ -87,7 +87,7 @@ public sealed partial class ShaderMethodSourceGenerator : IIncrementalGenerator
|
||||
Dictionary<IMethodSymbol, MethodDeclarationSyntax> instanceMethods = new(SymbolEqualityComparer.Default); // Unused in this generator
|
||||
|
||||
// Explore the syntax tree and extract the processed info
|
||||
SemanticModelProvider semanticModel = new SemanticModelProvider(compilation);
|
||||
SemanticModelProvider semanticModel = new(compilation);
|
||||
(string entryPoint, ImmutableArray<(string Signature, string Definition)> dependentMethods) = GetProcessedMethods(builder, methodDeclaration, semanticModel, discoveredTypes, constantDefinitions);
|
||||
ImmutableArray<(string Name, string Definition)> definedTypes = IShaderGenerator.BuildHlslSource.GetDeclaredTypes(builder, methodSymbol, discoveredTypes, instanceMethods);
|
||||
ImmutableArray<(string Name, string Value)> definedConstants = IShaderGenerator.BuildHlslSource.GetDefinedConstants(constantDefinitions);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする