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