30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker.cs (28)
880
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1207
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2833
SetState
(ref state, slot, newState);
2839
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3013
SetState
(ref this.State, slot, state);
3358
SetState
(ref state, slot, NullableFlowState.NotNull);
3378
SetState
(ref state, slot, GetState(ref startingState, slot));
3658
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4411
SetState
(ref this.State, slot, resultState);
4474
SetState
(ref this.State, iUnionValuePropertySlot, operandState);
5962
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5991
SetState
(ref state, slot, NullableFlowState.NotNull);
6019
SetState
(ref state, slot, NullableFlowState.MaybeNull);
6048
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6127
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
8016
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9361
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9502
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9519
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9546
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9578
SetState
(ref this.State, conversionOperandSlot, valueFieldType.State);
9599
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9604
SetState
(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot));
12248
SetState
(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull);
12599
SetState
(ref this.State, slot, state);
13048
SetState
(ref this.State, slot, NullableFlowState.NotNull);
13254
SetState
(ref this.State, memberSlot,
13569
SetState
(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
462
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
514
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null