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);
2878
SetState
(ref state, slot, newState);
2884
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3058
SetState
(ref this.State, slot, state);
3403
SetState
(ref state, slot, NullableFlowState.NotNull);
3423
SetState
(ref state, slot, GetState(ref startingState, slot));
3703
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4458
SetState
(ref this.State, slot, resultState);
4522
SetState
(ref this.State, iUnionValuePropertySlot, operandState);
6000
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
6029
SetState
(ref state, slot, NullableFlowState.NotNull);
6057
SetState
(ref state, slot, NullableFlowState.MaybeNull);
6086
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6165
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
8085
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9425
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9566
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9583
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9610
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9642
SetState
(ref this.State, conversionOperandSlot, valueFieldType.State);
9662
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9667
SetState
(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot));
12371
SetState
(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull);
12722
SetState
(ref this.State, slot, state);
13171
SetState
(ref this.State, slot, NullableFlowState.NotNull);
13377
SetState
(ref this.State, memberSlot,
13692
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