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