1 write to _retainedKeys
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
144
_retainedKeys
= new HashSet<string>(StringComparer.OrdinalIgnoreCase);
9 references to _retainedKeys
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
TempDataDictionary.cs (9)
118
_retainedKeys
.Clear();
119
_retainedKeys
.UnionWith(_data.Keys);
126
_retainedKeys
.Add(key);
130
[MemberNotNull(nameof(_initialKeys), nameof(
_retainedKeys
), nameof(_data))]
149
[MemberNotNull(nameof(_initialKeys), nameof(
_retainedKeys
), nameof(_data))]
152
Debug.Assert(_initialKeys is not null &&
_retainedKeys
is not null && _data is not null);
169
if (!_initialKeys.Contains(entry.Key) && !
_retainedKeys
.Contains(entry.Key))
199
_retainedKeys
.Clear();
228
_retainedKeys
.Remove(key);