7 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (2)
6016
LearnFromNonNullTest(slot, ref stateWhenNotNull.
StateWhenTrue
);
12987
Join(ref StateWhenTrue, ref otherIsConditional ? ref other.
StateWhenTrue
: ref other.State);
FlowAnalysis\NullableWalker_Patterns.cs (5)
346
StateWhenTrue
= stateWhenTrue.Clone();
354
StateWhenTrue
= StateWhenFalse = default;
782
Join(ref this.StateWhenTrue, ref stateAndReachable.state.
StateWhenTrue
);
793
Join(ref this.StateWhenTrue, ref stateAndReachable.state.
StateWhenTrue
);
816
Join(ref result.
StateWhenTrue
, ref state);
7 references to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (5)
5206
stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.
StateWhenTrue
: conditionalStateWhenNotNull.StateWhenFalse;
5210
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
12337
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
13004
var state = conditionalState.
StateWhenTrue
.Clone();
13017
SetConditionalState(conditionalState.
StateWhenTrue
, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
369
? new PossiblyConditionalState(
StateWhenTrue
, StateWhenFalse)
425
SetConditionalState(nodeState.
StateWhenTrue
, nodeState.StateWhenFalse);