18 references to GetState
Microsoft.CodeAnalysis.CSharp (18)
FlowAnalysis\NullableWalker.cs (17)
796
var memberState =
GetState
(ref state, slot);
1150
var parameterState =
GetState
(ref state, memberSlot);
1256
if (GetOrCreateSlot(parameter) is > 0 and var slot &&
GetState
(ref pendingReturn.StateWhenTrue, slot) !=
GetState
(ref pendingReturn.StateWhenFalse, slot))
1295
var parameterState =
GetState
(ref state, slot);
1351
var parameterState =
GetState
(ref stateWhen, slot);
1389
&&
GetState
(ref state, inputSlot).IsNotNull())
2751
GetState
(ref this.State, valueMemberSlot) :
2813
SetState(ref tryState, slot, newState.Join(
GetState
(ref tryState, slot)), useNotNullsAsDefault: true);
3353
SetState(ref state, slot,
GetState
(ref startingState, slot));
4446
if (!initializer.Type.IsValueType &&
GetState
(ref State, slot).MayBeNull())
5728
if (
GetState
(ref state, slot) == NullableFlowState.NotNull)
8646
NullableFlowState state =
GetState
(ref this.State, slot);
10977
SetResultType(node, TypeWithState.Create(results[0].RValueType.Type,
GetState
(ref State, extensionReceiverSlot)));
11155
SetResultType(node, TypeWithState.Create(results[0].RValueType.Type,
GetState
(ref State, extensionReceiverSlot)));
11475
var state =
GetState
(ref this.State, slot);
12495
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();