5 references to AnalyzedSyntaxNodes
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Diagnostics\GetDiagnosticsTests.cs (4)
1541
Assert.Empty(analyzer.
AnalyzedSyntaxNodes
);
1635
Assert.Equal(expectedSyntaxNodeCallbacks.Count, analyzer.
AnalyzedSyntaxNodes
.Count);
1636
AssertEx.All(analyzer.
AnalyzedSyntaxNodes
, node => node.IsKind(SyntaxKind.LocalDeclarationStatement));
1637
AssertEx.SetEqual(expectedSyntaxNodeCallbacks, analyzer.
AnalyzedSyntaxNodes
.Select(s => s.ToString()).ToHashSet());
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
3018
context.RegisterSyntaxNodeAction(syntaxNodeContext =>
AnalyzedSyntaxNodes
.Add(syntaxNodeContext.Node), SyntaxKind.LocalDeclarationStatement);