2 instantiations of CodeBlockOrSyntaxNodeAnalyzer
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticServiceTests.vb (2)
1087
Dim analyzer As DiagnosticAnalyzer = New
CodeBlockOrSyntaxNodeAnalyzer
(isCodeBlockAnalyzer:=True)
1130
Dim analyzer As DiagnosticAnalyzer = New
CodeBlockOrSyntaxNodeAnalyzer
(isCodeBlockAnalyzer:=False)
7 references to CodeBlockOrSyntaxNodeAnalyzer
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (7)
Diagnostics\DiagnosticServiceTests.vb (7)
1103
Assert.Equal(3, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor1.Id).Count)
1104
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor4.Id).Count)
1105
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor5.Id).Count)
1106
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor6.Id).Count)
1147
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor4.Id).Count)
1148
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor5.Id).Count)
1149
Assert.Equal(1, diagnostics.Where(Function(d) d.Id =
CodeBlockOrSyntaxNodeAnalyzer
.Descriptor6.Id).Count)