1 write to Id
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
13389
Id
= id;
29 references to Id
Microsoft.CodeAnalysis.CSharp (29)
FlowAnalysis\NullableWalker.cs (29)
1907
Debug.Assert(walker._variables.Id == initialState.Value.
Id
);
2846
var tryState = other.GetStateForVariables(self.
Id
);
3543
var state = State.GetStateForVariables(localFunctionState.StartingState.
Id
);
8485
Debug.Assert(variables.Id == localState.
Id
);
13364
/// <see cref="Variables"/> chain, and the <see cref="
Id
"/> field in this type matches <see cref="Variables.Id"/>.
13402
return new LocalStateSnapshot(
Id
, _container?.Value.CreateSnapshot(), _state.Clone());
13454
Debug.Assert(
Id
== variables.Container!.Id);
13483
if (state.
Id
> id)
13489
return state.
Id
== id;
13511
if (state.
Id
!= id)
13513
Debug.Assert(state.
Id
> id);
13525
if (
Id
!= variables.Id)
13527
Debug.Assert(
Id
< variables.Id);
13550
int slot = Variables.ConstructSlot(
Id
, index);
13551
SetValue(
Id
, index, useNotNullsAsDefault ? NullableFlowState.NotNull : walker.GetDefaultState(ref this, slot));
13571
if (
Id
!= id)
13573
Debug.Assert(
Id
> id);
13603
if (
Id
!= id)
13605
Debug.Assert(
Id
> id);
13634
action(Variables.ConstructSlot(
Id
, index), arg);
13641
while (state.
Id
!= id)
13655
return new LocalState(
Id
, container, _state.Clone());
13660
Debug.Assert(
Id
== other.
Id
);
13689
Debug.Assert(
Id
== other.
Id
);
13733
if (
Id
!= variables.Id)
13747
if (getName(Variables.ConstructSlot(
Id
, index)) is string name)
13750
var annotation = GetValue(
Id
, index) switch