30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker.cs (28)
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); 3358SetState(ref state, slot, NullableFlowState.NotNull); 3378SetState(ref state, slot, GetState(ref startingState, slot)); 3658SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4411SetState(ref this.State, slot, resultState); 4474SetState(ref this.State, iUnionValuePropertySlot, operandState); 5962SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5991SetState(ref state, slot, NullableFlowState.NotNull); 6019SetState(ref state, slot, NullableFlowState.MaybeNull); 6048SetState(ref state, childSlot, NullableFlowState.NotNull); 6127SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8016SetState(ref state, memberSlot, NullableFlowState.NotNull); 9361SetState(ref this.State, slot, NullableFlowState.NotNull); 9502SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9519SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9546SetState(ref this.State, targetFieldSlot, convertedType.State); 9578SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9599SetState(ref this.State, targetFieldSlot, convertedType.State); 9604SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12248SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12599SetState(ref this.State, slot, state); 13048SetState(ref this.State, slot, NullableFlowState.NotNull); 13254SetState(ref this.State, memberSlot, 13569SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
462SetState(ref State, outputSlot, NullableFlowState.NotNull); 514SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null