7 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (2)
6339LearnFromNonNullTest(slot, ref stateWhenNotNull.StateWhenTrue); 13833Join(ref StateWhenTrue, ref otherIsConditional ? ref other.StateWhenTrue : ref other.State);
FlowAnalysis\NullableWalker_Patterns.cs (5)
348StateWhenTrue = stateWhenTrue.Clone(); 356StateWhenTrue = StateWhenFalse = default; 891Join(ref this.StateWhenTrue, ref stateAndReachable.state.StateWhenTrue); 902Join(ref this.StateWhenTrue, ref stateAndReachable.state.StateWhenTrue); 925Join(ref result.StateWhenTrue, ref state);
7 references to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (5)
5527stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.StateWhenTrue : conditionalStateWhenNotNull.StateWhenFalse; 5531stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 13129stateWhenNotNull = conditionalStateWhenNotNull.StateWhenTrue; 13850var state = conditionalState.StateWhenTrue.Clone(); 13863SetConditionalState(conditionalState.StateWhenTrue, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
371? new PossiblyConditionalState(StateWhenTrue, StateWhenFalse) 428SetConditionalState(nodeState.StateWhenTrue, nodeState.StateWhenFalse);