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

◆ TryGetValue< T >() [1/2]

override bool System.Text.Json.Nodes.JsonValue< TValue >.TryGetValue< T > ( [NotNullWhen(true)] out T value)
inlineinherited

Definition at line 397 of file JsonValue.cs.

398 {
399 TValue value2 = _value;
400 if (value2 is T val)
401 {
402 value = val;
403 return true;
404 }
405 value2 = _value;
406 if (value2 is JsonElement)
407 {
409 }
410 value = default(T);
411 return false;
412 }

References System.Text.Json.Nodes.JsonValue< TValue >._value, System.Text.Json.Dictionary, and System.value.