2 writes to HasErrors
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Initializers.cs (1)
35processedInitializers.HasErrors = diagsForInstanceInitializers.HasAnyErrors();
Compiler\MethodCompiler.cs (1)
1001processedInitializers.HasErrors = processedInitializers.HasErrors || analyzedInitializers.HasAnyErrors;
2 references to HasErrors
Microsoft.CodeAnalysis.CSharp (2)
Compiler\MethodCompiler.cs (2)
1001processedInitializers.HasErrors = processedInitializers.HasErrors || analyzedInitializers.HasAnyErrors; 1102bool hasErrors = _hasDeclarationErrors || diagsForCurrentMethod.HasAnyErrors() || processedInitializers.HasErrors;