1 write to _initialKeys
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
143
_initialKeys
= new HashSet<string>(_data.Keys, StringComparer.OrdinalIgnoreCase);
13 references to _initialKeys
Microsoft.AspNetCore.Mvc.ViewFeatures (13)
TempDataDictionary.cs (13)
93
_initialKeys
.Remove(key);
102
_initialKeys
.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))
191
_initialKeys
.Add(key);
200
_initialKeys
.Clear();
229
_initialKeys
.Remove(key);
238
_initialKeys
.Remove(key);
251
_initialKeys
.Add(keyValuePair.Key);
264
_initialKeys
.Remove(keyValuePair.Key);
294
_tempData.
_initialKeys
.Remove(kvp.Key);