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)
838var memberState = GetState(ref state, slot); 1192var parameterState = GetState(ref state, memberSlot); 1298if (GetOrCreateSlot(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot)) 1337var parameterState = GetState(ref state, slot); 1393var parameterState = GetState(ref stateWhen, slot); 1431&& GetState(ref state, inputSlot).IsNotNull()) 2808GetState(ref this.State, valueMemberSlot) : 2870SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3409SetState(ref state, slot, GetState(ref startingState, slot)); 4497operandState = GetState(ref this.State, operandSlot); 4705if (!initializer.Type.IsValueType && GetState(ref State, slot).MayBeNull()) 6040if (GetState(ref state, slot) == NullableFlowState.NotNull) 9129NullableFlowState state = GetState(ref this.State, slot); 9613valueFieldType = TypeWithState.Create(valueFieldType.Type, GetState(ref this.State, valueFieldSlot)); 9653SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 11763SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 11956SetResultType(node, TypeWithState.Create(results[0].RValueType.Type, GetState(ref State, extensionReceiverSlot))); 12339var state = GetState(ref this.State, slot); 13368node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);