5 writes to _discardLevel
Microsoft.CodeAnalysis (5)
Binding\UseSiteInfo.cs (5)
142
_discardLevel
= DiscardLevel.DiagnosticsAndDependencies;
146
_discardLevel
= DiscardLevel.Dependencies;
150
_discardLevel
= DiscardLevel.None;
158
_discardLevel
= template._discardLevel;
166
_discardLevel
= discardLevel;
6 references to _discardLevel
Microsoft.CodeAnalysis (6)
Binding\UseSiteInfo.cs (6)
158
_discardLevel = template.
_discardLevel
;
176
switch (
_discardLevel
)
191
return
_discardLevel
;
210
Debug.Assert(
_discardLevel
switch { DiscardLevel.None => true, DiscardLevel.Dependencies => true, DiscardLevel.DiagnosticsAndDependencies => true, _ => false });
391
Debug.Assert(other.
_discardLevel
!= DiscardLevel.None ||
_discardLevel
== DiscardLevel.None);