26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
878SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1205SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2831SetState(ref state, slot, newState); 2837SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3011SetState(ref this.State, slot, state); 3357SetState(ref state, slot, NullableFlowState.NotNull); 3377SetState(ref state, slot, GetState(ref startingState, slot)); 3630SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4249SetState(ref this.State, slot, resultState); 5733SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5762SetState(ref state, slot, NullableFlowState.NotNull); 5790SetState(ref state, slot, NullableFlowState.MaybeNull); 5819SetState(ref state, childSlot, NullableFlowState.NotNull); 5898SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7757SetState(ref state, memberSlot, NullableFlowState.NotNull); 9070SetState(ref this.State, slot, NullableFlowState.NotNull); 9210SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9227SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9254SetState(ref this.State, targetFieldSlot, convertedType.State); 11640SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 12000SetState(ref this.State, slot, state); 12451SetState(ref this.State, slot, NullableFlowState.NotNull); 12657SetState(ref this.State, memberSlot, 12972SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481SetState(ref State, outputSlot, NullableFlowState.NotNull); 579SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null