19 references to GetState
Microsoft.CodeAnalysis.CSharp (19)
FlowAnalysis\NullableWalker.cs (17)
802var memberState = GetState(ref state, slot); 1156var parameterState = GetState(ref state, memberSlot); 1262if (GetOrCreateSlot(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot)) 1301var parameterState = GetState(ref state, slot); 1357var parameterState = GetState(ref stateWhen, slot); 1395&& GetState(ref state, inputSlot).IsNotNull()) 2757GetState(ref this.State, valueMemberSlot) : 2819SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3359SetState(ref state, slot, GetState(ref startingState, slot)); 4453if (!initializer.Type.IsValueType && GetState(ref State, slot).MayBeNull()) 5735if (GetState(ref state, slot) == NullableFlowState.NotNull) 8649NullableFlowState state = GetState(ref this.State, slot); 10989SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 11167SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 11493var state = GetState(ref this.State, slot); 12519node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
609var inputMaybeNull = GetState(ref this.StateWhenTrue, inputSlot).MayBeNull(); 682var tempState = GetState(ref this.State, tempSlot);