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);
2920
SetState
(ref state, slot, newState);
2926
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3100
SetState
(ref this.State, slot, state);
3445
SetState
(ref state, slot, NullableFlowState.NotNull);
3465
SetState
(ref state, slot, GetState(ref startingState, slot));
3745
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4500
SetState
(ref this.State, slot, resultState);
4564
SetState
(ref this.State, iUnionValuePropertySlot, operandState);
6058
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
6087
SetState
(ref state, slot, NullableFlowState.NotNull);
6115
SetState
(ref state, slot, NullableFlowState.MaybeNull);
6144
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6223
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
8143
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9483
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9624
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9641
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9668
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9700
SetState
(ref this.State, conversionOperandSlot, valueFieldType.State);
9720
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9725
SetState
(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot));
12440
SetState
(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull);
12800
SetState
(ref this.State, slot, state);
13249
SetState
(ref this.State, slot, NullableFlowState.NotNull);
13455
SetState
(ref this.State, memberSlot,
13770
SetState
(ref this.State, slot, NullableFlowState.NotNull);