5 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (2)
5796
LearnFromNonNullTest(slot, ref stateWhenNotNull.
StateWhenTrue
);
12229
Join(ref StateWhenTrue, ref otherIsConditional ? ref other.
StateWhenTrue
: ref other.State);
FlowAnalysis\NullableWalker_Patterns.cs (3)
346
StateWhenTrue
= stateWhenTrue.Clone();
354
StateWhenTrue
= StateWhenFalse = default;
814
Join(ref result.
StateWhenTrue
, ref state);
7 references to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (5)
5043
stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.
StateWhenTrue
: conditionalStateWhenNotNull.StateWhenFalse;
5047
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
11579
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
12246
var state = conditionalState.
StateWhenTrue
.Clone();
12259
SetConditionalState(conditionalState.
StateWhenTrue
, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
369
? new PossiblyConditionalState(
StateWhenTrue
, StateWhenFalse)
425
SetConditionalState(nodeState.
StateWhenTrue
, nodeState.StateWhenFalse);