75 references to GetAnalyzerDiagnostics
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (3)
105compilerEngineCompilation.GetAnalyzerDiagnostics(new[] { compilerEngineAnalyzer }); 281var diagnostics = compilerEngineCompilation.GetAnalyzerDiagnostics(new[] { analyzer }); 341var diagnostics = compilerEngineCompilation.GetAnalyzerDiagnostics(new[] { analyzer });
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (2)
102compilation.GetAnalyzerDiagnostics(new[] { analyzer }, options)); 116compilation.GetAnalyzerDiagnostics(new[] { analyzer }, options);
Diagnostics\GetDiagnosticsTests.cs (1)
466var analyzerDiagnostics = compilation.GetAnalyzerDiagnostics(analyzers);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (62)
Semantics\OutVarTests.cs (1)
18789.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\PrimaryConstructorTests.cs (16)
3094comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 3470comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 3548comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 3683comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 3899comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4005comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4213comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4318comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4532comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4635comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4874comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4953comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5078comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5181comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5237comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5309comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\RecordStructTests.cs (8)
5885comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6124comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6210comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6355comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6458comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6514comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6586comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6754comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\RecordTests.cs (9)
26132comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26504comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26589comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26744comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26960comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27066comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27274comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27379comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27593comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\TopLevelStatementsTests.cs (26)
6385comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6396comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6490comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6499comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6547comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6562comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6668comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6679comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6755comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6764comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6813comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6822comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6871comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6880comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6939comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6948comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7018comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7026comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7131comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7140comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7225comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7234comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7298comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7308comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7365comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7375comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
SourceGeneration\GeneratorDriverTests.cs (2)
160compilation.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 168outputCompilation.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\NullablePublicAPITests.cs (2)
1825comp.GetAnalyzerDiagnostics(new[] { analyzer }).Verify(); 4881comp.GetAnalyzerDiagnostics(new[] { analyzer }).Verify();
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
149Assert.Equal(expectedCount, c.GetAnalyzerDiagnostics(analyzers, null, onAnalyzerException).Length);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
47var diagnostics = compilation.GetAnalyzerDiagnostics(new DiagnosticAnalyzer[] { analyzer }, options);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.vb (1)
69compilerEngineCompilation.GetAnalyzerDiagnostics({compilerEngineAnalyzer})
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.vb (2)
50Function(analyzer) compilation.GetAnalyzerDiagnostics({analyzer}, options)) 61compilation.GetAnalyzerDiagnostics({analyzer}, options)