17 references to GetState
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (15)
747
var memberState =
GetState
(ref state, slot);
849
var parameterState =
GetState
(ref state, memberSlot);
1127
if (GetOrCreateSlot(parameter) is > 0 and var slot &&
GetState
(ref pendingReturn.StateWhenTrue, slot) !=
GetState
(ref pendingReturn.StateWhenFalse, slot))
1160
var parameterState =
GetState
(ref state, slot);
1216
var parameterState =
GetState
(ref stateWhen, slot);
1254
&&
GetState
(ref state, inputSlot).IsNotNull())
2583
GetState
(ref this.State, valueMemberSlot) :
2629
SetState(ref tryState, slot, newState.Join(
GetState
(ref tryState, slot)), useNotNullsAsDefault: true);
3032
SetState(ref state, slot,
GetState
(ref startingState, slot));
3831
if (!initializer.Type.IsValueType &&
GetState
(ref State, slot).MayBeNull())
5008
if (
GetState
(ref state, slot) == NullableFlowState.NotNull)
7312
NullableFlowState state =
GetState
(ref this.State, slot);
9902
var state =
GetState
(ref this.State, slot);
10783
node.IsAddition ?
GetState
(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
567
var inputMaybeNull =
GetState
(ref this.StateWhenTrue, inputSlot).MayBeNull();
640
var tempState =
GetState
(ref this.State, tempSlot);