5 writes to _copy
Microsoft.AspNetCore.Razor.Runtime (5)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (5)
22_copy = null; 28_copy = null; 48_copy = new Dictionary<TKey, TValue>(); 61_copy = new Dictionary<TKey, TValue>(); 65_copy = new Dictionary<TKey, TValue>(_source, _source.Comparer);
8 references to _copy
Microsoft.AspNetCore.Razor.Runtime (8)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (8)
27_source = source._copy ?? source._source; 31public bool HasBeenCopied => _copy != null; 37if (_copy != null) 39return _copy; 49return _copy; 58if (_copy == null && _source == null) 63else if (_copy == null) 68return _copy;