16 references to GetState
Microsoft.CodeAnalysis.CSharp (16)
FlowAnalysis\NullableWalker.cs (15)
783
var memberState =
GetState
(ref state, slot);
1137
var parameterState =
GetState
(ref state, memberSlot);
1236
if (GetOrCreateSlot(parameter) is > 0 and var slot &&
GetState
(ref pendingReturn.StateWhenTrue, slot) !=
GetState
(ref pendingReturn.StateWhenFalse, slot))
1269
var parameterState =
GetState
(ref state, slot);
1325
var parameterState =
GetState
(ref stateWhen, slot);
1363
&&
GetState
(ref state, inputSlot).IsNotNull())
2711
GetState
(ref this.State, valueMemberSlot) :
2757
SetState(ref tryState, slot, newState.Join(
GetState
(ref tryState, slot)), useNotNullsAsDefault: true);
3256
SetState(ref state, slot,
GetState
(ref startingState, slot));
4292
if (!initializer.Type.IsValueType &&
GetState
(ref State, slot).MayBeNull())
5515
if (
GetState
(ref state, slot) == NullableFlowState.NotNull)
8213
NullableFlowState state =
GetState
(ref this.State, slot);
10844
var state =
GetState
(ref this.State, slot);
11760
node.IsAddition ?
GetState
(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);
FlowAnalysis\NullableWalker_Patterns.cs (1)
607
var inputMaybeNull =
GetState
(ref this.StateWhenTrue, inputSlot).MayBeNull();