30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker_Patterns.cs (2)
466SetState(ref State, outputSlot, NullableFlowState.NotNull); 518SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null
FlowAnalysis\NullableWalker.cs (28)
909SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1261SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2913SetState(ref state, slot, newState); 2919SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3093SetState(ref this.State, slot, state); 3438SetState(ref state, slot, NullableFlowState.NotNull); 3458SetState(ref state, slot, GetState(ref startingState, slot)); 3738SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4494SetState(ref this.State, slot, resultState); 4574SetState(ref this.State, iUnionValuePropertySlot, state); 6068SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 6097SetState(ref state, slot, NullableFlowState.NotNull); 6125SetState(ref state, slot, NullableFlowState.MaybeNull); 6154SetState(ref state, childSlot, NullableFlowState.NotNull); 6233SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8160SetState(ref state, memberSlot, NullableFlowState.NotNull); 9500SetState(ref this.State, slot, NullableFlowState.NotNull); 9641SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9658SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9685SetState(ref this.State, targetFieldSlot, convertedType.State); 9717SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9737SetState(ref this.State, targetFieldSlot, convertedType.State); 9742SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12457SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12817SetState(ref this.State, slot, state); 13266SetState(ref this.State, slot, NullableFlowState.NotNull); 13472SetState(ref this.State, memberSlot, 13787SetState(ref this.State, slot, NullableFlowState.NotNull);