6 references to _tableBuilder
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\StateTableStore.cs (6)
41
public bool Contains(object key) =>
_tableBuilder
.ContainsKey(key);
43
public bool TryGetTable(object key, [NotNullWhen(true)] out IStateTable? table) =>
_tableBuilder
.TryGetValue(key, out table);
45
public void SetTable(object key, IStateTable table) =>
_tableBuilder
[key] = table;
50
foreach (var kvp in
_tableBuilder
)
55
SegmentedCollectionsMarshal.GetValueRefOrNullRef(
_tableBuilder
, kvp.Key) = cachedValue;
59
return new StateTableStore(
_tableBuilder
.ToImmutable());