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)
897
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1224
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2864
SetState
(ref state, slot, newState);
2870
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3044
SetState
(ref this.State, slot, state);
3389
SetState
(ref state, slot, NullableFlowState.NotNull);
3409
SetState
(ref state, slot, GetState(ref startingState, slot));
3689
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4444
SetState
(ref this.State, slot, resultState);
4508
SetState
(ref this.State, iUnionValuePropertySlot, operandState);
5986
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
6015
SetState
(ref state, slot, NullableFlowState.NotNull);
6043
SetState
(ref state, slot, NullableFlowState.MaybeNull);
6072
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6151
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
8071
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9411
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9552
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9569
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9596
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9628
SetState
(ref this.State, conversionOperandSlot, valueFieldType.State);
9648
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9653
SetState
(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot));
12361
SetState
(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull);
12721
SetState
(ref this.State, slot, state);
13170
SetState
(ref this.State, slot, NullableFlowState.NotNull);
13376
SetState
(ref this.State, memberSlot,
13691
SetState
(ref this.State, slot, NullableFlowState.NotNull);