1 write to Id
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
14064Id = id;
28 references to Id
Microsoft.CodeAnalysis.CSharp (28)
FlowAnalysis\NullableWalker.cs (28)
2934var tryState = other.GetStateForVariables(self.Id); 3631var state = State.GetStateForVariables(localFunctionState.StartingState.Id); 8731Debug.Assert(variables.Id == localState.Id); 14039/// <see cref="Variables"/> chain, and the <see cref="Id"/> field in this type matches <see cref="Variables.Id"/>. 14077return new LocalStateSnapshot(Id, _container?.Value.CreateSnapshot(), _state.Clone()); 14129Debug.Assert(Id == variables.Container!.Id); 14158if (state.Id > id) 14164return state.Id == id; 14186if (state.Id != id) 14188Debug.Assert(state.Id > id); 14200if (Id != variables.Id) 14202Debug.Assert(Id < variables.Id); 14225int slot = Variables.ConstructSlot(Id, index); 14226SetValue(Id, index, useNotNullsAsDefault ? NullableFlowState.NotNull : walker.GetDefaultState(ref this, slot)); 14246if (Id != id) 14248Debug.Assert(Id > id); 14278if (Id != id) 14280Debug.Assert(Id > id); 14309action(Variables.ConstructSlot(Id, index), arg); 14316while (state.Id != id) 14330return new LocalState(Id, container, _state.Clone()); 14335Debug.Assert(Id == other.Id); 14364Debug.Assert(Id == other.Id); 14408if (Id != variables.Id) 14422if (getName(Variables.ConstructSlot(Id, index)) is string name) 14425var annotation = GetValue(Id, index) switch