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

◆ CheckNotDisposed()

void System.Text.Json.JsonDocument.CheckNotDisposed ( )
inlineprivate

Definition at line 1056 of file JsonDocument.cs.

1057 {
1058 if (_utf8Json.IsEmpty)
1059 {
1060 throw new ObjectDisposedException("JsonDocument");
1061 }
1062 }
ReadOnlyMemory< byte > _utf8Json

References System.Text.Json.JsonDocument._utf8Json, and System.ReadOnlyMemory< T >.IsEmpty.

Referenced by System.Text.Json.JsonDocument.GetArrayIndexElement(), System.Text.Json.JsonDocument.GetArrayLength(), System.Text.Json.JsonDocument.GetEndIndex(), System.Text.Json.JsonDocument.GetJsonTokenType(), System.Text.Json.JsonDocument.GetPropertyRawValue(), System.Text.Json.JsonDocument.GetRawValue(), System.Text.Json.JsonDocument.GetString(), System.Text.Json.JsonDocument.TextEquals(), System.Text.Json.JsonDocument.TextEquals(), System.Text.Json.JsonDocument.TryGetNamedPropertyValue(), System.Text.Json.JsonDocument.TryGetNamedPropertyValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), System.Text.Json.JsonDocument.TryGetValue(), and System.Text.Json.JsonDocument.WriteElementTo().