21 references to GetEmitDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
CodeGen\CodeGenOperators.cs (1)
5441diagnostics = compilation.GetEmitDiagnostics();
CodeGen\CodeGenTupleTest.cs (2)
19287_ = comp.GetEmitDiagnostics(); 19338_ = comp.GetEmitDiagnostics();
CodeGen\PatternTests.cs (5)
101compilation.GetEmitDiagnostics().Verify( 124compilation.GetEmitDiagnostics().Verify( 154compilation.GetEmitDiagnostics().Verify( 202compilation.GetEmitDiagnostics().Verify( 3321compilation.GetEmitDiagnostics().Verify(
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBUsingTests.cs (1)
797compilation.GetEmitDiagnostics();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PatternMatchingTests.cs (1)
5650compilation.GetEmitDiagnostics().Where(d => d.Severity != DiagnosticSeverity.Warning).Verify(
Semantics\PrimaryConstructorTests.cs (2)
7849var diagnosticsToCheck = (IEnumerable<Diagnostic>)comp.GetEmitDiagnostics(); 9879comp.GetEmitDiagnostics().Where(d => d.Code is not (int)ErrorCode.HDN_UnusedUsingDirective).Verify(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NullableReferenceTypesTests.cs (1)
157872var diagnostics = comp.GetEmitDiagnostics();
Semantics\OperatorTests.cs (5)
4829compilation.GetEmitDiagnostics(); 4842compilation.GetEmitDiagnostics(); 4910compilation.GetEmitDiagnostics(); 4947compilation.GetEmitDiagnostics(); 4985compilation.GetEmitDiagnostics();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
1361var emitDiagnostics = comp.GetEmitDiagnostics(); 1375comp2.GetEmitDiagnostics().Where(d => shouldCompare(d)).Verify(
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.vb (1)
689Dim err = c2.GetEmitDiagnostics().Single()