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