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;
31
public bool HasBeenCopied =>
_copy
!= null;
37
if (
_copy
!= null)
39
return
_copy
;
49
return
_copy
;
58
if (
_copy
== null && _source == null)
63
else if (
_copy
== null)
68
return
_copy
;