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