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