5 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (2)
5735LearnFromNonNullTest(slot, ref stateWhenNotNull.StateWhenTrue); 12168Join(ref StateWhenTrue, ref otherIsConditional ? ref other.StateWhenTrue : ref other.State);
FlowAnalysis\NullableWalker_Patterns.cs (3)
346StateWhenTrue = stateWhenTrue.Clone(); 354StateWhenTrue = StateWhenFalse = default; 814Join(ref result.StateWhenTrue, ref state);
7 references to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (5)
4982stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.StateWhenTrue : conditionalStateWhenNotNull.StateWhenFalse; 4986stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 11518stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 12185var state = conditionalState.StateWhenTrue.Clone(); 12198SetConditionalState(conditionalState.StateWhenTrue, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
369? new PossiblyConditionalState(StateWhenTrue, StateWhenFalse) 425SetConditionalState(nodeState.StateWhenTrue, nodeState.StateWhenFalse);