1 write to _globalHasErrors
Microsoft.CodeAnalysis.CSharp (1)
Compiler\MethodCompiler.cs (1)
82
_globalHasErrors
= true;
5 references to _globalHasErrors
Microsoft.CodeAnalysis.CSharp (5)
Compiler\MethodCompiler.cs (5)
198
if (moduleBeingBuiltOpt != null && (methodCompiler.
_globalHasErrors
|| moduleBeingBuiltOpt.SourceModule.HasBadAttributes) && !diagnostics.HasAnyErrors() && !hasDeclarationErrors)
200
var messageResourceName = methodCompiler.
_globalHasErrors
? nameof(CodeAnalysisResources.UnableToDetermineSpecificCauseOfFailure) : nameof(CodeAnalysisResources.ModuleHasInvalidAttributes);
758
if (_emitMethodBodies && !diagnosticsThisMethod.HasAnyErrors() && !
_globalHasErrors
)
821
if (!
_globalHasErrors
)
852
if ((object)synthesizedAccessor != null && !
_globalHasErrors
)