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