5 writes to StateWhenTrue
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (2)
5735
LearnFromNonNullTest(slot, ref stateWhenNotNull.
StateWhenTrue
);
12168
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)
4982
stateWhenNotNull = boolValue ? conditionalStateWhenNotNull.
StateWhenTrue
: conditionalStateWhenNotNull.StateWhenFalse;
4986
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
11518
stateWhenNotNull = conditionalStateWhenNotNull.
StateWhenTrue
;
12185
var state = conditionalState.
StateWhenTrue
.Clone();
12198
SetConditionalState(conditionalState.
StateWhenTrue
, conditionalState.StateWhenFalse);
FlowAnalysis\NullableWalker_Patterns.cs (2)
369
? new PossiblyConditionalState(
StateWhenTrue
, StateWhenFalse)
425
SetConditionalState(nodeState.
StateWhenTrue
, nodeState.StateWhenFalse);