11 references to HasAnyErrors
Microsoft.CodeAnalysis (11)
Binding\BindingDiagnosticBag.cs (1)
50return DiagnosticBag?.HasAnyErrors() == true;
CommandLine\CommonCompiler.cs (3)
338if (diagnostics.HasAnyErrors()) 470Debug.Assert(text != null || diagnostics.HasAnyErrors()); 732Debug.Assert(diagnostics.HasAnyErrors());
Compilation.EmitStream.cs (1)
111if (diagnostics.HasAnyErrors())
Compilation\Compilation.cs (4)
3295Debug.Assert(nativePdbStream != null || metadataDiagnostics.HasAnyErrors()); 3347if (metadataDiagnostics.HasAnyErrors()) 3353Debug.Assert(auxStream != null || metadataDiagnostics.HasAnyErrors()); 3479return diagnostics.HasAnyErrors() ? null : writer.GetDelta(this, encId, metadataSizes);
ReferenceManager\CommonReferenceManager.Resolution.cs (2)
322Debug.Assert(metadata != null || diagnostics.HasAnyErrors()); 548Debug.Assert(metadata != null || diagnostics.HasAnyErrors());