69 references to GetAnalyzerDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (29)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (2)
105compilation.GetAnalyzerDiagnostics(new[] { analyzer }, options)); 119compilation.GetAnalyzerDiagnostics(new[] { analyzer }, options);
Diagnostics\GetDiagnosticsTests.cs (1)
527var analyzerDiagnostics = compilation.GetAnalyzerDiagnostics(analyzers);
Semantics\OutVarTests.cs (1)
18789.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\PrimaryConstructorTests.cs (16)
3681comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4052comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4130comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4265comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4481comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4587comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4795comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 4900comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5113comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5216comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5455comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5534comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5659comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5762comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5818comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 5890comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\RecordTests.cs (9)
26121comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26488comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26573comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26728comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 26944comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27050comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27258comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27363comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 27576comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (36)
Semantics\RecordStructTests.cs (8)
5915comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6154comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6240comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6385comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6488comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6544comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6616comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6784comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify();
Semantics\TopLevelStatementsTests.cs (26)
6397comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6408comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6502comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6511comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6559comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6574comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6680comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6691comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6767comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6776comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6825comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6834comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6883comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6892comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6951comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 6960comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7030comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7038comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7143comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7152comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7237comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7246comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7310comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7320comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7377comp.GetAnalyzerDiagnostics(new[] { analyzer }, null).Verify(); 7387comp.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)
1824comp.GetAnalyzerDiagnostics(new[] { analyzer }).Verify(); 4880comp.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);