1 write to _valueToIdMap
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.WriterReferenceMap.cs (1)
26_valueToIdMap = s_valueDictionaryPool.Allocate();
6 references to _valueToIdMap
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.WriterReferenceMap.cs (6)
34if (_valueToIdMap.Count > 1024) 36s_valueDictionaryPool.ForgetTrackedObject(_valueToIdMap); 40_valueToIdMap.Clear(); 41s_valueDictionaryPool.Free(_valueToIdMap); 46=> _valueToIdMap.TryGetValue(value, out referenceId); 51_valueToIdMap.Add(value, id);