30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker_Patterns.cs (2)
466SetState(ref State, outputSlot, NullableFlowState.NotNull); 518SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null
FlowAnalysis\NullableWalker.cs (28)
897SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1224SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2864SetState(ref state, slot, newState); 2870SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3044SetState(ref this.State, slot, state); 3389SetState(ref state, slot, NullableFlowState.NotNull); 3409SetState(ref state, slot, GetState(ref startingState, slot)); 3689SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4444SetState(ref this.State, slot, resultState); 4508SetState(ref this.State, iUnionValuePropertySlot, operandState); 5986SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 6015SetState(ref state, slot, NullableFlowState.NotNull); 6043SetState(ref state, slot, NullableFlowState.MaybeNull); 6072SetState(ref state, childSlot, NullableFlowState.NotNull); 6151SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8071SetState(ref state, memberSlot, NullableFlowState.NotNull); 9411SetState(ref this.State, slot, NullableFlowState.NotNull); 9552SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9569SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9596SetState(ref this.State, targetFieldSlot, convertedType.State); 9628SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9648SetState(ref this.State, targetFieldSlot, convertedType.State); 9653SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12361SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12721SetState(ref this.State, slot, state); 13170SetState(ref this.State, slot, NullableFlowState.NotNull); 13376SetState(ref this.State, memberSlot, 13691SetState(ref this.State, slot, NullableFlowState.NotNull);