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)
3287Debug.Assert(nativePdbStream != null || metadataDiagnostics.HasAnyErrors()); 3339if (metadataDiagnostics.HasAnyErrors()) 3345Debug.Assert(auxStream != null || metadataDiagnostics.HasAnyErrors()); 3471return 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());