23 references to GetState
Microsoft.CodeAnalysis.CSharp (23)
FlowAnalysis\NullableWalker_Patterns.cs (3)
526var inputState = GetState(ref this.State, inputSlot); 558var inputMaybeNull = GetState(ref this.StateWhenTrue, inputSlot).MayBeNull(); 631var tempState = GetState(ref this.State, tempSlot);
FlowAnalysis\NullableWalker.cs (20)
844var memberState = GetState(ref state, slot); 1229var parameterState = GetState(ref state, memberSlot); 1335if (GetOrCreateSlot(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot)) 1374var parameterState = GetState(ref state, slot); 1430var parameterState = GetState(ref stateWhen, slot); 1468&& GetState(ref state, inputSlot).IsNotNull()) 2864GetState(ref this.State, valueMemberSlot) : 2926SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3465SetState(ref state, slot, GetState(ref startingState, slot)); 4553operandState = GetState(ref this.State, operandSlot); 4761if (!initializer.Type.IsValueType && GetState(ref State, slot).MayBeNull()) 6112if (GetState(ref state, slot) == NullableFlowState.NotNull) 9201NullableFlowState state = GetState(ref this.State, slot); 9685valueFieldType = TypeWithState.Create(valueFieldType.Type, GetState(ref this.State, valueFieldSlot)); 9725SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 11842SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 12035SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 12418var state = GetState(ref this.State, slot); 13456node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);