File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
22
22
{
23
23
var symbolsInExecutingAssembly = context . SyntaxProvider
24
24
. 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 } ,
26
26
static ( ctx , _ ) => ctx . SemanticModel . GetDeclaredSymbol ( ctx . Node ) )
27
27
. Where ( static m => m is not null )
28
28
. Select ( static ( x , _ ) => x ! ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
23
23
{
24
24
var classes = context . SyntaxProvider
25
25
. 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 } ,
27
27
static ( ctx , _ ) => ctx . SemanticModel . GetDeclaredSymbol ( ctx . Node ) )
28
28
. Where ( static m => m is not null )
29
29
. Select ( static ( x , _ ) => x ! ) ;
You can’t perform that action at this time.
0 commit comments