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

◆ ThrowNotSupportedException_ObjectWithParameterizedCtorRefMetadataNotHonored()

static void System.Text.Json.ThrowHelper.ThrowNotSupportedException_ObjectWithParameterizedCtorRefMetadataNotHonored ( ReadOnlySpan< byte > propertyName,
ref Utf8JsonReader reader,
ref ReadStack state )
inlinestatic

Definition at line 895 of file ThrowHelper.cs.

896 {
898 NotSupportedException ex = new NotSupportedException(System.SR.Format(System.SR.ObjectWithParameterizedCtorRefMetadataNotHonored, state.Current.JsonTypeInfo.Type));
900 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string ObjectWithParameterizedCtorRefMetadataNotHonored
Definition SR.cs:244
Definition SR.cs:7
static void ThrowNotSupportedException(ref ReadStack state, in Utf8JsonReader reader, NotSupportedException ex)

References System.Text.Json.Dictionary, System.SR.Format(), System.SR.ObjectWithParameterizedCtorRefMetadataNotHonored, System.state, and System.Text.Json.ThrowHelper.ThrowNotSupportedException().

Referenced by System.Text.Json.ThrowHelper.ThrowUnexpectedMetadataException().