13 references to _map
System.Formats.Nrbf (13)
System\Formats\Nrbf\RecordMap.cs (13)
16
public IEnumerable<SerializationRecordId> Keys =>
_map
.Keys;
18
public IEnumerable<SerializationRecord> Values =>
_map
.Values;
20
public int Count =>
_map
.Count;
22
public SerializationRecord this[SerializationRecordId objectId] =>
_map
[objectId];
24
public bool ContainsKey(SerializationRecordId key) =>
_map
.ContainsKey(key);
26
public bool TryGetValue(SerializationRecordId key, [MaybeNullWhen(false)] out SerializationRecord value) =>
_map
.TryGetValue(key, out value);
28
public IEnumerator<KeyValuePair<SerializationRecordId, SerializationRecord>> GetEnumerator() =>
_map
.GetEnumerator();
30
IEnumerator IEnumerable.GetEnumerator() =>
_map
.GetEnumerator();
43
_map
[record.Id] = record;
48
if (
_map
.TryAdd(record.Id, record))
71
_map
[header.RootId] = rootRecord = systemClass.TryToMapToUserFriendly();
78
=>
_map
.TryGetValue(recordId, out SerializationRecord? record)
83
=>
_map
.TryGetValue(recordId, out SerializationRecord? record) && record is T casted