3 writes to _hasErrors
Microsoft.CodeAnalysis (3)
Binding\UseSiteInfo.cs (3)
257_hasErrors = true; 387other._hasErrors = false; 396other._hasErrors = false;
12 references to _hasErrors
Microsoft.CodeAnalysis (12)
Binding\UseSiteInfo.cs (12)
183Debug.Assert(!_hasErrors); 213Debug.Assert(_hasErrors == (_diagnostics?.Any(d => d.Severity == DiagnosticSeverity.Error) ?? false)); 214Debug.Assert(!_hasErrors || (_dependencies is null)); 235return _hasErrors; 255if (!_hasErrors) 327if (!_hasErrors && AccumulatesDependencies) 344if (!_hasErrors && AccumulatesDependencies) 352if (!_hasErrors && AccumulatesDependencies && !dependencies.IsNullOrEmpty() && 361if (!_hasErrors && AccumulatesDependencies && !dependencies.IsNullOrEmpty() && 370if (!_hasErrors && AccumulatesDependencies && !dependencies.IsDefaultOrEmpty && 393if (other._hasErrors) 399if (!_hasErrors && AccumulatesDependencies)