Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Contains()

Definition at line 238 of file JsonPropertyDictionary.cs.

239 {
241 {
242 while (enumerator.MoveNext())
243 {
244 KeyValuePair<string, T> current = enumerator.Current;
245 if (item.Value == current.Value && _stringComparer.Equals(item.Key, current.Key))
246 {
247 return true;
248 }
249 }
250 }
251 return false;
252 }
new bool Equals(object? x, object? y)
IEnumerator< KeyValuePair< string, T > > GetEnumerator()

References System.Text.Json.JsonPropertyDictionary< T >._stringComparer, System.StringComparer.Equals(), System.Text.Json.JsonPropertyDictionary< T >.GetEnumerator(), and System.item.