16 references to _dictionary
Microsoft.AspNetCore.JsonPatch.Tests (16)
WriteOnceDynamicTestObject.cs (16)
27public object this[string key] { get => ((IDictionary<string, object>)_dictionary)[key]; set => SetValueForKey(key, value); } 29public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys; 31public ICollection<object> Values => ((IDictionary<string, object>)_dictionary).Values; 33public int Count => ((IDictionary<string, object>)_dictionary).Count; 35public bool IsReadOnly => ((IDictionary<string, object>)_dictionary).IsReadOnly; 49((IDictionary<string, object>)_dictionary).Clear(); 54return ((IDictionary<string, object>)_dictionary).Contains(item); 59return ((IDictionary<string, object>)_dictionary).ContainsKey(key); 64((IDictionary<string, object>)_dictionary).CopyTo(array, arrayIndex); 69return ((IDictionary<string, object>)_dictionary).GetEnumerator(); 74return ((IDictionary<string, object>)_dictionary).Remove(key); 79return ((IDictionary<string, object>)_dictionary).Remove(item); 84return ((IDictionary<string, object>)_dictionary).TryGetValue(key, out value); 105_dictionary.Remove(key); 109if (_dictionary.ContainsKey(key)) 114_dictionary[key] = value;