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; 176switch (_discardLevel) 191return _discardLevel; 210Debug.Assert(_discardLevel switch { DiscardLevel.None => true, DiscardLevel.Dependencies => true, DiscardLevel.DiagnosticsAndDependencies => true, _ => false }); 391Debug.Assert(other._discardLevel != DiscardLevel.None || _discardLevel == DiscardLevel.None);