1 write to Id
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
14130Id = id;
28 references to Id
Microsoft.CodeAnalysis.CSharp (28)
FlowAnalysis\NullableWalker.cs (28)
2929var tryState = other.GetStateForVariables(self.Id); 3626var state = State.GetStateForVariables(localFunctionState.StartingState.Id); 8756Debug.Assert(variables.Id == localState.Id); 14105/// <see cref="Variables"/> chain, and the <see cref="Id"/> field in this type matches <see cref="Variables.Id"/>. 14143return new LocalStateSnapshot(Id, _container?.Value.CreateSnapshot(), _state.Clone()); 14195Debug.Assert(Id == variables.Container!.Id); 14224if (state.Id > id) 14230return state.Id == id; 14252if (state.Id != id) 14254Debug.Assert(state.Id > id); 14266if (Id != variables.Id) 14268Debug.Assert(Id < variables.Id); 14291int slot = Variables.ConstructSlot(Id, index); 14292SetValue(Id, index, useNotNullsAsDefault ? NullableFlowState.NotNull : walker.GetDefaultState(ref this, slot)); 14312if (Id != id) 14314Debug.Assert(Id > id); 14344if (Id != id) 14346Debug.Assert(Id > id); 14375action(Variables.ConstructSlot(Id, index), arg); 14382while (state.Id != id) 14396return new LocalState(Id, container, _state.Clone()); 14401Debug.Assert(Id == other.Id); 14430Debug.Assert(Id == other.Id); 14474if (Id != variables.Id) 14488if (getName(Variables.ConstructSlot(Id, index)) is string name) 14491var annotation = GetValue(Id, index) switch