26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
880SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1207SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2833SetState(ref state, slot, newState); 2839SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3013SetState(ref this.State, slot, state); 3359SetState(ref state, slot, NullableFlowState.NotNull); 3379SetState(ref state, slot, GetState(ref startingState, slot)); 3632SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4252SetState(ref this.State, slot, resultState); 5736SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5765SetState(ref state, slot, NullableFlowState.NotNull); 5793SetState(ref state, slot, NullableFlowState.MaybeNull); 5822SetState(ref state, childSlot, NullableFlowState.NotNull); 5901SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7760SetState(ref state, memberSlot, NullableFlowState.NotNull); 9073SetState(ref this.State, slot, NullableFlowState.NotNull); 9213SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9230SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9257SetState(ref this.State, targetFieldSlot, convertedType.State); 11643SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 12005SetState(ref this.State, slot, state); 12456SetState(ref this.State, slot, NullableFlowState.NotNull); 12662SetState(ref this.State, memberSlot, 12977SetState(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