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)
198if (moduleBeingBuiltOpt != null && (methodCompiler._globalHasErrors || moduleBeingBuiltOpt.SourceModule.HasBadAttributes) && !diagnostics.HasAnyErrors() && !hasDeclarationErrors) 200var messageResourceName = methodCompiler._globalHasErrors ? nameof(CodeAnalysisResources.UnableToDetermineSpecificCauseOfFailure) : nameof(CodeAnalysisResources.ModuleHasInvalidAttributes); 758if (_emitMethodBodies && !diagnosticsThisMethod.HasAnyErrors() && !_globalHasErrors) 821if (!_globalHasErrors) 852if ((object)synthesizedAccessor != null && !_globalHasErrors)