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); 3356SetState(ref state, slot, NullableFlowState.NotNull); 3376SetState(ref state, slot, GetState(ref startingState, slot)); 3629SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4248SetState(ref this.State, slot, resultState); 5732SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5761SetState(ref state, slot, NullableFlowState.NotNull); 5789SetState(ref state, slot, NullableFlowState.MaybeNull); 5818SetState(ref state, childSlot, NullableFlowState.NotNull); 5897SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7756SetState(ref state, memberSlot, NullableFlowState.NotNull); 9069SetState(ref this.State, slot, NullableFlowState.NotNull); 9209SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9226SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9253SetState(ref this.State, targetFieldSlot, convertedType.State); 11639SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 11999SetState(ref this.State, slot, state); 12450SetState(ref this.State, slot, NullableFlowState.NotNull); 12656SetState(ref this.State, memberSlot, 12971SetState(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