1 write to _states
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
486
_states
= states;
9 references to _states
Microsoft.CodeAnalysis (9)
SourceGeneration\Nodes\NodeStateTable.cs (9)
491
if (!
_states
.SequenceEqual(entry.
_states
))
506
public bool IsCached => this.
_states
== s_allCachedEntries || this.
_states
.All(s => s == EntryState.Cached);
508
public bool IsRemoved => this.
_states
== s_allRemovedEntries || this.
_states
.All(s => s == EntryState.Removed);
514
public EntryState GetState(int index) =>
_states
.Length == 1 ?
_states
[0] :
_states
[index];