File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2222 {
2323 var symbolsInExecutingAssembly = context . SyntaxProvider
2424 . CreateSyntaxProvider (
25- static ( s , _ ) => s is ClassDeclarationSyntax { AttributeLists . Count : > 0 } or MethodDeclarationSyntax { AttributeLists . Count : > 0 }
25+ static ( s , _ ) => s is ClassDeclarationSyntax { AttributeLists . Count : > 0 } or MethodDeclarationSyntax { AttributeLists . Count : > 0 } ,
2626 static ( ctx , _ ) => ctx . SemanticModel . GetDeclaredSymbol ( ctx . Node ) )
2727 . Where ( static m => m is not null )
2828 . Select ( static ( x , _ ) => x ! ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2323 {
2424 var classes = context . SyntaxProvider
2525 . CreateSyntaxProvider (
26- static ( s , _ ) => s is ClassDeclarationSyntax { AttributeLists . Count : > 0 } or MethodDeclarationSyntax { AttributeLists . Count : > 0 }
26+ static ( s , _ ) => s is ClassDeclarationSyntax { AttributeLists . Count : > 0 } or MethodDeclarationSyntax { AttributeLists . Count : > 0 } ,
2727 static ( ctx , _ ) => ctx . SemanticModel . GetDeclaredSymbol ( ctx . Node ) )
2828 . Where ( static m => m is not null )
2929 . Select ( static ( x , _ ) => x ! ) ;
You can’t perform that action at this time.
0 commit comments