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