30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker.cs (28)
897SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1224SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2869SetState(ref state, slot, newState); 2875SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3049SetState(ref this.State, slot, state); 3394SetState(ref state, slot, NullableFlowState.NotNull); 3414SetState(ref state, slot, GetState(ref startingState, slot)); 3694SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4449SetState(ref this.State, slot, resultState); 4513SetState(ref this.State, iUnionValuePropertySlot, operandState); 6002SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 6031SetState(ref state, slot, NullableFlowState.NotNull); 6059SetState(ref state, slot, NullableFlowState.MaybeNull); 6088SetState(ref state, childSlot, NullableFlowState.NotNull); 6167SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8058SetState(ref state, memberSlot, NullableFlowState.NotNull); 9398SetState(ref this.State, slot, NullableFlowState.NotNull); 9539SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9556SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9583SetState(ref this.State, targetFieldSlot, convertedType.State); 9615SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9635SetState(ref this.State, targetFieldSlot, convertedType.State); 9640SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12303SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12654SetState(ref this.State, slot, state); 13103SetState(ref this.State, slot, NullableFlowState.NotNull); 13309SetState(ref this.State, memberSlot, 13624SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
464SetState(ref State, outputSlot, NullableFlowState.NotNull); 516SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null