7 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (2)
5274LearnFromNonNullTest(slot, ref stateWhenNotNull.StateWhenTrue); 11252Join(ref StateWhenTrue, ref otherIsConditional ? ref other.StateWhenTrue : ref other.State);
FlowAnalysis\NullableWalker_Patterns.cs (5)
308StateWhenTrue = stateWhenTrue.Clone(); 316StateWhenTrue = StateWhenFalse = default; 740Join(ref this.StateWhenTrue, ref stateAndReachable.state.StateWhenTrue); 751Join(ref this.StateWhenTrue, ref stateAndReachable.state.StateWhenTrue); 774Join(ref result.StateWhenTrue, ref state);
7 references to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (5)
4555stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.StateWhenTrue : conditionalStateWhenNotNull.StateWhenFalse; 4559stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 10602stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 11269var state = conditionalState.StateWhenTrue.Clone(); 11282SetConditionalState(conditionalState.StateWhenTrue, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
331? new PossiblyConditionalState(StateWhenTrue, StateWhenFalse) 387SetConditionalState(nodeState.StateWhenTrue, nodeState.StateWhenFalse);