5 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (2)
5796LearnFromNonNullTest(slot, ref stateWhenNotNull.StateWhenTrue); 12229Join(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)
5043stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.StateWhenTrue : conditionalStateWhenNotNull.StateWhenFalse; 5047stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 11579stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 12246var state = conditionalState.StateWhenTrue.Clone(); 12259SetConditionalState(conditionalState.StateWhenTrue, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
369? new PossiblyConditionalState(StateWhenTrue, StateWhenFalse) 425SetConditionalState(nodeState.StateWhenTrue, nodeState.StateWhenFalse);