3 writes to _hasErrors
Microsoft.CodeAnalysis (3)
Binding\UseSiteInfo.cs (3)
255_hasErrors = true; 398other._hasErrors = false; 407other._hasErrors = false;
12 references to _hasErrors
Microsoft.CodeAnalysis (12)
Binding\UseSiteInfo.cs (12)
181Debug.Assert(!_hasErrors); 211Debug.Assert(_hasErrors == (_diagnostics?.Any(d => d.Severity == DiagnosticSeverity.Error) ?? false)); 212Debug.Assert(!_hasErrors || (_dependencies is null)); 233return _hasErrors; 253if (!_hasErrors) 338if (!_hasErrors && AccumulatesDependencies) 355if (!_hasErrors && AccumulatesDependencies) 363if (!_hasErrors && AccumulatesDependencies && !dependencies.IsNullOrEmpty() && 372if (!_hasErrors && AccumulatesDependencies && !dependencies.IsNullOrEmpty() && 381if (!_hasErrors && AccumulatesDependencies && !dependencies.IsDefaultOrEmpty && 404if (other._hasErrors) 410if (!_hasErrors && AccumulatesDependencies)