1 write to Id
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
14056Id = 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); 14031/// <see cref="Variables"/> chain, and the <see cref="Id"/> field in this type matches <see cref="Variables.Id"/>. 14069return new LocalStateSnapshot(Id, _container?.Value.CreateSnapshot(), _state.Clone()); 14121Debug.Assert(Id == variables.Container!.Id); 14150if (state.Id > id) 14156return state.Id == id; 14178if (state.Id != id) 14180Debug.Assert(state.Id > id); 14192if (Id != variables.Id) 14194Debug.Assert(Id < variables.Id); 14217int slot = Variables.ConstructSlot(Id, index); 14218SetValue(Id, index, useNotNullsAsDefault ? NullableFlowState.NotNull : walker.GetDefaultState(ref this, slot)); 14238if (Id != id) 14240Debug.Assert(Id > id); 14270if (Id != id) 14272Debug.Assert(Id > id); 14301action(Variables.ConstructSlot(Id, index), arg); 14308while (state.Id != id) 14322return new LocalState(Id, container, _state.Clone()); 14327Debug.Assert(Id == other.Id); 14356Debug.Assert(Id == other.Id); 14400if (Id != variables.Id) 14414if (getName(Variables.ConstructSlot(Id, index)) is string name) 14417var annotation = GetValue(Id, index) switch