16 references to GetState
Microsoft.CodeAnalysis.CSharp (16)
FlowAnalysis\NullableWalker.cs (15)
782var memberState = GetState(ref state, slot); 1076var parameterState = GetState(ref state, memberSlot); 1175if (GetOrCreateSlot(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot)) 1208var parameterState = GetState(ref state, slot); 1264var parameterState = GetState(ref stateWhen, slot); 1302&& GetState(ref state, inputSlot).IsNotNull()) 2650GetState(ref this.State, valueMemberSlot) : 2696SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3195SetState(ref state, slot, GetState(ref startingState, slot)); 4231if (!initializer.Type.IsValueType && GetState(ref State, slot).MayBeNull()) 5454if (GetState(ref state, slot) == NullableFlowState.NotNull) 8152NullableFlowState state = GetState(ref this.State, slot); 10783var state = GetState(ref this.State, slot); 11699node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);
FlowAnalysis\NullableWalker_Patterns.cs (1)
607var inputMaybeNull = GetState(ref this.StateWhenTrue, inputSlot).MayBeNull();