19 references to GetState
Microsoft.CodeAnalysis.CSharp (19)
FlowAnalysis\NullableWalker.cs (17)
821var memberState = GetState(ref state, slot); 1175var parameterState = GetState(ref state, memberSlot); 1281if (GetOrCreateSlot(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot)) 1320var parameterState = GetState(ref state, slot); 1376var parameterState = GetState(ref stateWhen, slot); 1414&& GetState(ref state, inputSlot).IsNotNull()) 2777GetState(ref this.State, valueMemberSlot) : 2839SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3379SetState(ref state, slot, GetState(ref startingState, slot)); 4508if (!initializer.Type.IsValueType && GetState(ref State, slot).MayBeNull()) 5790if (GetState(ref state, slot) == NullableFlowState.NotNull) 8791NullableFlowState state = GetState(ref this.State, slot); 11128SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 11305SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 11631var state = GetState(ref this.State, slot); 12663node.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);