26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
842SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1169SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2753SetState(ref state, slot, newState); 2759SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 2893SetState(ref this.State, slot, state); 3238SetState(ref state, slot, NullableFlowState.NotNull); 3258SetState(ref state, slot, GetState(ref startingState, slot)); 3513SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4079SetState(ref this.State, slot, resultState); 5466SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5495SetState(ref state, slot, NullableFlowState.NotNull); 5523SetState(ref state, slot, NullableFlowState.MaybeNull); 5552SetState(ref state, childSlot, NullableFlowState.NotNull); 5631SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7277SetState(ref state, memberSlot, NullableFlowState.NotNull); 8504SetState(ref this.State, slot, NullableFlowState.NotNull); 8644SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8661SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8688SetState(ref this.State, targetFieldSlot, convertedType.State); 10867SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 11224SetState(ref this.State, slot, state); 11564SetState(ref this.State, slot, NullableFlowState.NotNull); 11770SetState(ref this.State, memberSlot, 12085SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481SetState(ref State, outputSlot, NullableFlowState.NotNull); 577SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null