239 references to GetResourceString
System.Text.Json (239)
artifacts\obj\System.Text.Json\Debug\net10.0\System.SR.cs (239)
16internal static string @ArrayDepthTooLarge => GetResourceString("ArrayDepthTooLarge", @"The maximum configured depth of {0} has been exceeded. Cannot read next JSON array."); 18internal static string @CallFlushToAvoidDataLoss => GetResourceString("CallFlushToAvoidDataLoss", @"The JSON writer needs to be flushed before getting the current state. There are {0} bytes that have not been committed to the output."); 20internal static string @CannotReadIncompleteUTF16 => GetResourceString("CannotReadIncompleteUTF16", @"Cannot read incomplete UTF-16 JSON text as string with missing low surrogate."); 22internal static string @CannotReadInvalidUTF16 => GetResourceString("CannotReadInvalidUTF16", @"Cannot read invalid UTF-16 JSON text as string. Invalid surrogate value: '{0}'."); 24internal static string @CannotStartObjectArrayAfterPrimitiveOrClose => GetResourceString("CannotStartObjectArrayAfterPrimitiveOrClose", @"Cannot write the start of an object/array after a single JSON value or outside of an existing closed object/array. Current token type is '{0}'."); 26internal static string @CannotStartObjectArrayWithoutProperty => GetResourceString("CannotStartObjectArrayWithoutProperty", @"Cannot write the start of an object or array without a property name. Current token type is '{0}'."); 28internal static string @CannotTranscodeInvalidUtf8 => GetResourceString("CannotTranscodeInvalidUtf8", @"Cannot transcode invalid UTF-8 JSON text to UTF-16 string."); 30internal static string @CannotDecodeInvalidBase64 => GetResourceString("CannotDecodeInvalidBase64", @"Cannot decode JSON text that is not encoded as valid Base64 to bytes."); 32internal static string @CannotTranscodeInvalidUtf16 => GetResourceString("CannotTranscodeInvalidUtf16", @"Cannot transcode invalid UTF-16 string to UTF-8 JSON text."); 34internal static string @CannotEncodeInvalidUTF16 => GetResourceString("CannotEncodeInvalidUTF16", @"Cannot encode invalid UTF-16 text as JSON. Invalid surrogate value: '{0}'."); 36internal static string @CannotEncodeInvalidUTF8 => GetResourceString("CannotEncodeInvalidUTF8", @"Cannot encode invalid UTF-8 text as JSON. Invalid input: '{0}'."); 38internal static string @CannotWritePropertyWithinArray => GetResourceString("CannotWritePropertyWithinArray", @"Cannot write a JSON property within an array or as the first JSON token. Current token type is '{0}'."); 40internal static string @CannotWritePropertyAfterProperty => GetResourceString("CannotWritePropertyAfterProperty", @"Cannot write a JSON property name following another property name. A JSON value is missing."); 42internal static string @CannotWriteValueAfterPrimitiveOrClose => GetResourceString("CannotWriteValueAfterPrimitiveOrClose", @"Cannot write a JSON value after a single JSON value or outside of an existing closed object/array. Current token type is '{0}'."); 44internal static string @CannotWriteValueWithinObject => GetResourceString("CannotWriteValueWithinObject", @"Cannot write a JSON value within an object without a property name. Current token type is '{0}'."); 46internal static string @DepthTooLarge => GetResourceString("DepthTooLarge", @"CurrentDepth ({0}) is equal to or larger than the maximum allowed depth of {1}. Cannot write the next JSON object or array."); 48internal static string @DestinationTooShort => GetResourceString("DestinationTooShort", @"Destination is too short."); 50internal static string @EmptyJsonIsInvalid => GetResourceString("EmptyJsonIsInvalid", @"Writing an empty JSON payload (excluding comments) is invalid."); 52internal static string @EndOfCommentNotFound => GetResourceString("EndOfCommentNotFound", @"Expected end of comment, but instead reached end of data."); 54internal static string @EndOfStringNotFound => GetResourceString("EndOfStringNotFound", @"Expected end of string, but instead reached end of data."); 56internal static string @ExpectedEndAfterSingleJson => GetResourceString("ExpectedEndAfterSingleJson", @"'{0}' is invalid after a single JSON value. Expected end of data."); 58internal static string @ExpectedEndOfDigitNotFound => GetResourceString("ExpectedEndOfDigitNotFound", @"'{0}' is an invalid end of a number. Expected a delimiter."); 60internal static string @ExpectedFalse => GetResourceString("ExpectedFalse", @"'{0}' is an invalid JSON literal. Expected the literal 'false'."); 62internal static string @ExpectedJsonTokens => GetResourceString("ExpectedJsonTokens", @"The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true."); 64internal static string @ExpectedOneCompleteToken => GetResourceString("ExpectedOneCompleteToken", @"The input does not contain any complete JSON tokens. Expected the input to have at least one valid, complete, JSON token."); 66internal static string @ExpectedNextDigitEValueNotFound => GetResourceString("ExpectedNextDigitEValueNotFound", @"'{0}' is an invalid end of a number. Expected 'E' or 'e'."); 68internal static string @ExpectedNull => GetResourceString("ExpectedNull", @"'{0}' is an invalid JSON literal. Expected the literal 'null'."); 70internal static string @ExpectedSeparatorAfterPropertyNameNotFound => GetResourceString("ExpectedSeparatorAfterPropertyNameNotFound", @"'{0}' is invalid after a property name. Expected a ':'."); 72internal static string @ExpectedStartOfPropertyNotFound => GetResourceString("ExpectedStartOfPropertyNotFound", @"'{0}' is an invalid start of a property name. Expected a '""'."); 74internal static string @ExpectedStartOfPropertyOrValueNotFound => GetResourceString("ExpectedStartOfPropertyOrValueNotFound", @"Expected start of a property name or value, but instead reached end of data."); 76internal static string @ExpectedStartOfValueNotFound => GetResourceString("ExpectedStartOfValueNotFound", @"'{0}' is an invalid start of a value."); 78internal static string @ExpectedTrue => GetResourceString("ExpectedTrue", @"'{0}' is an invalid JSON literal. Expected the literal 'true'."); 80internal static string @ExpectedValueAfterPropertyNameNotFound => GetResourceString("ExpectedValueAfterPropertyNameNotFound", @"Expected a value, but instead reached end of data."); 82internal static string @FailedToGetLargerSpan => GetResourceString("FailedToGetLargerSpan", @"The 'IBufferWriter' could not provide an output buffer that is large enough to continue writing."); 84internal static string @FoundInvalidCharacter => GetResourceString("FoundInvalidCharacter", @"'{0}' is invalid after a value. Expected either ',', '}}', or ']'."); 86internal static string @InvalidCast => GetResourceString("InvalidCast", @"Cannot get the value of a token type '{0}' as a {1}."); 88internal static string @InvalidCharacterAfterEscapeWithinString => GetResourceString("InvalidCharacterAfterEscapeWithinString", @"'{0}' is an invalid escapable character within a JSON string. The string should be correctly escaped."); 90internal static string @InvalidCharacterWithinString => GetResourceString("InvalidCharacterWithinString", @"'{0}' is invalid within a JSON string. The string should be correctly escaped."); 92internal static string @UnsupportedEnumIdentifier => GetResourceString("UnsupportedEnumIdentifier", @"Enum type '{0}' uses unsupported identifier '{1}'. It must not be null, empty, or containing leading or trailing whitespace. Flags enums must additionally not contain commas."); 94internal static string @InvalidEndOfJsonNonPrimitive => GetResourceString("InvalidEndOfJsonNonPrimitive", @"'{0}' is an invalid token type for the end of the JSON payload. Expected either 'EndArray' or 'EndObject'."); 96internal static string @InvalidHexCharacterWithinString => GetResourceString("InvalidHexCharacterWithinString", @"'{0}' is not a hex digit following '\u' within a JSON string. The string should be correctly escaped."); 98internal static string @JsonDocumentDoesNotSupportComments => GetResourceString("JsonDocumentDoesNotSupportComments", @"Comments cannot be stored in a JsonDocument, only the Skip and Disallow comment handling modes are supported."); 100internal static string @JsonElementHasWrongType => GetResourceString("JsonElementHasWrongType", @"The requested operation requires an element of type '{0}', but the target element has type '{1}'."); 102internal static string @JsonElementDeepEqualsInsufficientExecutionStack => GetResourceString("JsonElementDeepEqualsInsufficientExecutionStack", @"Insufficient stack to continue executing 'JsonElement.DeepEquals'. This can happen either because the 'JsonElement' values are too deep or 'DeepEquals' is being called too deep in the stack."); 104internal static string @JsonNumberExponentTooLarge => GetResourceString("JsonNumberExponentTooLarge", @"The exponent value in the specified JSON number is too large."); 106internal static string @DefaultTypeInfoResolverImmutable => GetResourceString("DefaultTypeInfoResolverImmutable", @"Cannot add callbacks to the 'Modifiers' property after the resolver has been used for the first time."); 108internal static string @TypeInfoResolverChainImmutable => GetResourceString("TypeInfoResolverChainImmutable", @"The specified IJsonTypeInfoResolver chain cannot be modified."); 110internal static string @TypeInfoImmutable => GetResourceString("TypeInfoImmutable", @"This JsonTypeInfo instance is marked read-only or has already been used in serialization or deserialization."); 112internal static string @MaxDepthMustBePositive => GetResourceString("MaxDepthMustBePositive", @"Max depth must be positive."); 114internal static string @CommentHandlingMustBeValid => GetResourceString("CommentHandlingMustBeValid", @"The JsonCommentHandling enum must be set to one of the supported values."); 116internal static string @MismatchedObjectArray => GetResourceString("MismatchedObjectArray", @"'{0}' is invalid without a matching open."); 118internal static string @CannotWriteEndAfterProperty => GetResourceString("CannotWriteEndAfterProperty", @"'{0}' is invalid following a property name."); 120internal static string @ObjectDepthTooLarge => GetResourceString("ObjectDepthTooLarge", @"The maximum configured depth of {0} has been exceeded. Cannot read next JSON object."); 122internal static string @PropertyNameTooLarge => GetResourceString("PropertyNameTooLarge", @"The JSON property name of length {0} is too large and not supported."); 124internal static string @FormatDecimal => GetResourceString("FormatDecimal", @"The JSON value is either too large or too small for a Decimal."); 126internal static string @FormatDouble => GetResourceString("FormatDouble", @"Either the JSON value is not in a supported format, or is out of bounds for a Double."); 128internal static string @FormatInt32 => GetResourceString("FormatInt32", @"Either the JSON value is not in a supported format, or is out of bounds for an Int32."); 130internal static string @FormatInt64 => GetResourceString("FormatInt64", @"Either the JSON value is not in a supported format, or is out of bounds for an Int64."); 132internal static string @FormatSingle => GetResourceString("FormatSingle", @"Either the JSON value is not in a supported format, or is out of bounds for a Single."); 134internal static string @FormatUInt32 => GetResourceString("FormatUInt32", @"Either the JSON value is not in a supported format, or is out of bounds for a UInt32."); 136internal static string @FormatUInt64 => GetResourceString("FormatUInt64", @"Either the JSON value is not in a supported format, or is out of bounds for a UInt64."); 138internal static string @RequiredDigitNotFoundAfterDecimal => GetResourceString("RequiredDigitNotFoundAfterDecimal", @"'{0}' is invalid within a number, immediately after a decimal point ('.'). Expected a digit ('0'-'9')."); 140internal static string @RequiredDigitNotFoundAfterSign => GetResourceString("RequiredDigitNotFoundAfterSign", @"'{0}' is invalid within a number, immediately after a sign character ('+' or '-'). Expected a digit ('0'-'9')."); 142internal static string @RequiredDigitNotFoundEndOfData => GetResourceString("RequiredDigitNotFoundEndOfData", @"Expected a digit ('0'-'9'), but instead reached end of data."); 144internal static string @SpecialNumberValuesNotSupported => GetResourceString("SpecialNumberValuesNotSupported", @".NET number values such as positive and negative infinity cannot be written as valid JSON. To make it work when using 'JsonSerializer', consider specifying 'JsonNumberHandling.AllowNamedFloatingPointLiterals' (see https://learn.microsoft.com/dotnet/api/system.text.json.serialization.jsonnumberhandling)."); 146internal static string @ValueTooLarge => GetResourceString("ValueTooLarge", @"The JSON value of length {0} is too large and not supported."); 148internal static string @ZeroDepthAtEnd => GetResourceString("ZeroDepthAtEnd", @"Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed."); 150internal static string @DeserializeUnableToConvertValue => GetResourceString("DeserializeUnableToConvertValue", @"The JSON value could not be converted to {0}."); 152internal static string @DeserializeWrongType => GetResourceString("DeserializeWrongType", @"The specified type {0} must derive from the specific value's type {1}."); 154internal static string @SerializationInvalidBufferSize => GetResourceString("SerializationInvalidBufferSize", @"The value must be greater than zero."); 156internal static string @BufferWriterAdvancedTooFar => GetResourceString("BufferWriterAdvancedTooFar", @"Cannot advance past the end of the buffer, which has a size of {0}."); 158internal static string @InvalidComparison => GetResourceString("InvalidComparison", @"Cannot compare the value of a token type '{0}' to text."); 160internal static string @UnsupportedFormat => GetResourceString("UnsupportedFormat", @"The JSON value is not in a supported {0} format."); 162internal static string @ExpectedStartOfPropertyOrValueAfterComment => GetResourceString("ExpectedStartOfPropertyOrValueAfterComment", @"'{0}' is an invalid start of a property name or value, after a comment."); 164internal static string @TrailingCommaNotAllowedBeforeArrayEnd => GetResourceString("TrailingCommaNotAllowedBeforeArrayEnd", @"The JSON array contains a trailing comma at the end which is not supported in this mode. Change the reader options."); 166internal static string @TrailingCommaNotAllowedBeforeObjectEnd => GetResourceString("TrailingCommaNotAllowedBeforeObjectEnd", @"The JSON object contains a trailing comma at the end which is not supported in this mode. Change the reader options."); 168internal static string @SerializerOptionsReadOnly => GetResourceString("SerializerOptionsReadOnly", @"This JsonSerializerOptions instance is read-only or has already been used in serialization or deserialization."); 170internal static string @SerializerOptions_InvalidChainedResolver => GetResourceString("SerializerOptions_InvalidChainedResolver", @"Cannot insert the values of 'TypeInfoResolver' or 'TypeInfoResolverChain' to 'TypeInfoResolverChain'."); 172internal static string @StreamNotWritable => GetResourceString("StreamNotWritable", @"Stream is not writable."); 174internal static string @CannotWriteCommentWithEmbeddedDelimiter => GetResourceString("CannotWriteCommentWithEmbeddedDelimiter", @"Cannot write a comment value which contains the end of comment delimiter."); 176internal static string @SerializerPropertyNameConflict => GetResourceString("SerializerPropertyNameConflict", @"The JSON property name for '{0}.{1}' collides with another property."); 178internal static string @SerializerPropertyNameNull => GetResourceString("SerializerPropertyNameNull", @"The JSON property name for '{0}.{1}' cannot be null."); 180internal static string @SerializationDataExtensionPropertyInvalid => GetResourceString("SerializationDataExtensionPropertyInvalid", @"The extension data property '{0}.{1}' is invalid. It must implement 'IDictionary<string, JsonElement>' or 'IDictionary<string, object>', or be 'JsonObject'."); 182internal static string @PropertyTypeNotNullable => GetResourceString("PropertyTypeNotNullable", @"The property type '{0}' does not support null values and therefore cannot be marked as nullable."); 184internal static string @SerializationDuplicateTypeAttribute => GetResourceString("SerializationDuplicateTypeAttribute", @"The type '{0}' cannot have more than one member that has the attribute '{1}'."); 186internal static string @ExtensionDataConflictsWithUnmappedMemberHandling => GetResourceString("ExtensionDataConflictsWithUnmappedMemberHandling", @"The type '{0}' is marked 'JsonUnmappedMemberHandling.Disallow' which conflicts with extension data property '{1}'."); 188internal static string @SerializationNotSupportedType => GetResourceString("SerializationNotSupportedType", @"The type '{0}' is not supported."); 190internal static string @TypeRequiresAsyncSerialization => GetResourceString("TypeRequiresAsyncSerialization", @"The type '{0}' can only be serialized using async serialization methods."); 192internal static string @InvalidCharacterAtStartOfComment => GetResourceString("InvalidCharacterAtStartOfComment", @"'{0}' is invalid after '/' at the beginning of the comment. Expected either '/' or '*'."); 194internal static string @UnexpectedEndOfDataWhileReadingComment => GetResourceString("UnexpectedEndOfDataWhileReadingComment", @"Unexpected end of data while reading a comment."); 196internal static string @CannotSkip => GetResourceString("CannotSkip", @"Cannot skip tokens on partial JSON. Either get the whole payload and create a Utf8JsonReader instance where isFinalBlock is true or call TrySkip."); 198internal static string @NotEnoughData => GetResourceString("NotEnoughData", @"There is not enough data to read through the entire JSON array or object."); 200internal static string @UnexpectedEndOfLineSeparator => GetResourceString("UnexpectedEndOfLineSeparator", @"Found invalid line or paragraph separator character while reading a comment."); 202internal static string @JsonSerializerDoesNotSupportComments => GetResourceString("JsonSerializerDoesNotSupportComments", @"Comments cannot be stored when deserializing objects, only the Skip and Disallow comment handling modes are supported."); 204internal static string @DeserializeNoConstructor => GetResourceString("DeserializeNoConstructor", @"Deserialization of types without a parameterless constructor, a singular parameterized constructor, or a parameterized constructor annotated with '{0}' is not supported. Type '{1}'."); 206internal static string @DeserializeInterfaceOrAbstractType => GetResourceString("DeserializeInterfaceOrAbstractType", @"Deserialization of interface or abstract types is not supported. Type '{0}'."); 208internal static string @DeserializationMustSpecifyTypeDiscriminator => GetResourceString("DeserializationMustSpecifyTypeDiscriminator", @"The JSON payload for polymorphic interface or abstract type '{0}' must specify a type discriminator."); 210internal static string @SerializationConverterOnAttributeNotCompatible => GetResourceString("SerializationConverterOnAttributeNotCompatible", @"The converter specified on '{0}' is not compatible with the type '{1}'."); 212internal static string @SerializationConverterOnAttributeInvalid => GetResourceString("SerializationConverterOnAttributeInvalid", @"The converter specified on '{0}' does not derive from JsonConverter or have a public parameterless constructor."); 214internal static string @SerializationConverterRead => GetResourceString("SerializationConverterRead", @"The converter '{0}' read too much or not enough."); 216internal static string @SerializationConverterNotCompatible => GetResourceString("SerializationConverterNotCompatible", @"The converter '{0}' is not compatible with the type '{1}'."); 218internal static string @ResolverTypeNotCompatible => GetResourceString("ResolverTypeNotCompatible", @"The IJsonTypeInfoResolver returned an incompatible JsonTypeInfo instance of type '{0}', expected type '{1}'."); 220internal static string @ResolverTypeInfoOptionsNotCompatible => GetResourceString("ResolverTypeInfoOptionsNotCompatible", @"The IJsonTypeInfoResolver returned a JsonTypeInfo instance whose JsonSerializerOptions setting does not match the provided argument."); 222internal static string @SerializationConverterWrite => GetResourceString("SerializationConverterWrite", @"The converter '{0}' wrote too much or not enough."); 224internal static string @NamingPolicyReturnNull => GetResourceString("NamingPolicyReturnNull", @"The naming policy '{0}' cannot return null."); 226internal static string @SerializationDuplicateAttribute => GetResourceString("SerializationDuplicateAttribute", @"The attribute '{0}' cannot exist more than once on '{1}'."); 228internal static string @SerializeUnableToSerialize => GetResourceString("SerializeUnableToSerialize", @"The object or value could not be serialized."); 230internal static string @FormatByte => GetResourceString("FormatByte", @"Either the JSON value is not in a supported format, or is out of bounds for an unsigned byte."); 232internal static string @FormatInt16 => GetResourceString("FormatInt16", @"Either the JSON value is not in a supported format, or is out of bounds for an Int16."); 234internal static string @FormatSByte => GetResourceString("FormatSByte", @"Either the JSON value is not in a supported format, or is out of bounds for a signed byte."); 236internal static string @FormatUInt16 => GetResourceString("FormatUInt16", @"Either the JSON value is not in a supported format, or is out of bounds for a UInt16."); 238internal static string @SerializerCycleDetected => GetResourceString("SerializerCycleDetected", @"A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of {0}. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles."); 240internal static string @InvalidLeadingZeroInNumber => GetResourceString("InvalidLeadingZeroInNumber", @"Invalid leading zero before '{0}'."); 242internal static string @MetadataCannotParsePreservedObjectToImmutable => GetResourceString("MetadataCannotParsePreservedObjectToImmutable", @"Cannot parse a JSON object containing metadata properties like '$id' or '$type' into an array or immutable collection type. Type '{0}'."); 244internal static string @MetadataDuplicateIdFound => GetResourceString("MetadataDuplicateIdFound", @"The value of the '$id' metadata property '{0}' conflicts with an existing identifier."); 246internal static string @MetadataIdCannotBeCombinedWithRef => GetResourceString("MetadataIdCannotBeCombinedWithRef", @"The metadata property '$id' cannot be used together with '$ref' metadata properties."); 248internal static string @MetadataInvalidReferenceToValueType => GetResourceString("MetadataInvalidReferenceToValueType", @"Invalid reference to value type '{0}'."); 250internal static string @MetadataInvalidTokenAfterValues => GetResourceString("MetadataInvalidTokenAfterValues", @"The '$values' metadata property must be a JSON array. Current token type is '{0}'."); 254internal static string @MetadataPreservedArrayFailed => GetResourceString("MetadataPreservedArrayFailed", @"Deserialization failed for one of these reasons: 258internal static string @MetadataInvalidPropertyInArrayMetadata => GetResourceString("MetadataInvalidPropertyInArrayMetadata", @"A JSON object containing metadata for a nested array includes a non-metadata property '{0}'."); 260internal static string @MetadataStandaloneValuesProperty => GetResourceString("MetadataStandaloneValuesProperty", @"A '$values' metadata property must always be preceded by other metadata properties, such as '$id' or '$type'."); 262internal static string @MetadataReferenceCannotContainOtherProperties => GetResourceString("MetadataReferenceCannotContainOtherProperties", @"A JSON object that contains a '$ref' metadata property must not contain any other properties."); 264internal static string @MetadataReferenceNotFound => GetResourceString("MetadataReferenceNotFound", @"Reference '{0}' was not found."); 266internal static string @MetadataValueWasNotString => GetResourceString("MetadataValueWasNotString", @"The '$id', '$ref' or '$type' metadata properties must be JSON strings. Current token type is '{0}'."); 268internal static string @MetadataInvalidPropertyWithLeadingDollarSign => GetResourceString("MetadataInvalidPropertyWithLeadingDollarSign", @"Properties that start with '$' are not allowed in types that support metadata. Either replace the character or disable reference preservation and polymorphic deserialization."); 270internal static string @MetadataUnexpectedProperty => GetResourceString("MetadataUnexpectedProperty", @"The metadata property is either not supported by the type or is not the first property in the deserialized JSON object."); 272internal static string @UnmappedJsonProperty => GetResourceString("UnmappedJsonProperty", @"The JSON property '{0}' could not be mapped to any .NET member contained in type '{1}'."); 274internal static string @DuplicateMetadataProperty => GetResourceString("DuplicateMetadataProperty", @"Deserialized object contains a duplicate '{0}' metadata property."); 276internal static string @MultipleMembersBindWithConstructorParameter => GetResourceString("MultipleMembersBindWithConstructorParameter", @"Members '{0}' and '{1}' on type '{2}' cannot both bind with parameter '{3}' in the deserialization constructor."); 278internal static string @ConstructorParamIncompleteBinding => GetResourceString("ConstructorParamIncompleteBinding", @"Each parameter in the deserialization constructor on type '{0}' must bind to an object property or field on deserialization. Each parameter name and type must match with a property or field on the object. Fields are only considered when 'JsonSerializerOptions.IncludeFields' is enabled. The name match can be case-insensitive."); 280internal static string @ObjectWithParameterizedCtorRefMetadataNotSupported => GetResourceString("ObjectWithParameterizedCtorRefMetadataNotSupported", @"Reference metadata is not supported when deserializing constructor parameters. See type '{0}'."); 282internal static string @SerializerConverterFactoryReturnsNull => GetResourceString("SerializerConverterFactoryReturnsNull", @"The converter '{0}' cannot return a null value."); 284internal static string @SerializationNotSupportedParentType => GetResourceString("SerializationNotSupportedParentType", @"The unsupported member type is located on type '{0}'."); 286internal static string @ExtensionDataCannotBindToCtorParam => GetResourceString("ExtensionDataCannotBindToCtorParam", @"The extension data property '{0}' on type '{1}' cannot bind with a parameter in the deserialization constructor."); 288internal static string @BufferMaximumSizeExceeded => GetResourceString("BufferMaximumSizeExceeded", @"Cannot allocate a buffer of size {0}."); 290internal static string @CannotSerializeInvalidType => GetResourceString("CannotSerializeInvalidType", @"The type '{0}' is invalid for serialization or deserialization because it is a pointer type, is a ref struct, or contains generic parameters that have not been replaced by specific types."); 292internal static string @SerializeTypeInstanceNotSupported => GetResourceString("SerializeTypeInstanceNotSupported", @"Serialization and deserialization of '{0}' instances is not supported."); 294internal static string @JsonIncludeOnInaccessibleProperty => GetResourceString("JsonIncludeOnInaccessibleProperty", @"The property '{0}' on type '{1}' which is annotated with 'JsonIncludeAttribute' is not accesible by the source generator."); 296internal static string @CannotSerializeInvalidMember => GetResourceString("CannotSerializeInvalidMember", @"The type '{0}' of property '{1}' on type '{2}' is invalid for serialization or deserialization because it is a pointer type, is a ref struct, or contains generic parameters that have not been replaced by specific types."); 298internal static string @CannotPopulateCollection => GetResourceString("CannotPopulateCollection", @"The collection type '{0}' is abstract, an interface, or is read only, and could not be instantiated and populated."); 300internal static string @ConstructorContainsNullParameterNames => GetResourceString("ConstructorContainsNullParameterNames", @"The deserialization constructor for type '{0}' contains parameters with null names. This might happen because the parameter names have been trimmed by ILLink. Consider using the source generated serializer instead."); 302internal static string @DefaultIgnoreConditionAlreadySpecified => GetResourceString("DefaultIgnoreConditionAlreadySpecified", @"'IgnoreNullValues' and 'DefaultIgnoreCondition' cannot both be set to non-default values."); 304internal static string @DefaultIgnoreConditionInvalid => GetResourceString("DefaultIgnoreConditionInvalid", @"The value cannot be 'JsonIgnoreCondition.Always'."); 306internal static string @DictionaryKeyTypeNotSupported => GetResourceString("DictionaryKeyTypeNotSupported", @"The type '{0}' is not a supported dictionary key using converter of type '{1}'. Custom converters can add support for dictionary key serialization by overriding the 'ReadAsPropertyName' and 'WriteAsPropertyName' methods."); 308internal static string @IgnoreConditionOnValueTypeInvalid => GetResourceString("IgnoreConditionOnValueTypeInvalid", @"The ignore condition 'JsonIgnoreCondition.WhenWritingNull' is not valid on value-type member '{0}' on type '{1}'. Consider using 'JsonIgnoreCondition.WhenWritingDefault'."); 310internal static string @NumberHandlingOnPropertyInvalid => GetResourceString("NumberHandlingOnPropertyInvalid", @"'JsonNumberHandlingAttribute' is only valid on a number or a collection of numbers when applied to a property or field. See member '{0}' on type '{1}'."); 312internal static string @ConverterCanConvertMultipleTypes => GetResourceString("ConverterCanConvertMultipleTypes", @"The converter '{0}' handles type '{1}' but is being asked to convert type '{2}'. Either create a separate converter for type '{2}' or change the converter's 'CanConvert' method to only return 'true' for a single type."); 314internal static string @MetadataReferenceOfTypeCannotBeAssignedToType => GetResourceString("MetadataReferenceOfTypeCannotBeAssignedToType", @"The object with reference id '{0}' of type '{1}' cannot be assigned to the type '{2}'."); 316internal static string @DeserializeUnableToAssignValue => GetResourceString("DeserializeUnableToAssignValue", @"Unable to cast object of type '{0}' to type '{1}'."); 318internal static string @DeserializeUnableToAssignNull => GetResourceString("DeserializeUnableToAssignNull", @"Unable to assign 'null' to the property or field of type '{0}'."); 320internal static string @SerializerConverterFactoryReturnsJsonConverterFactory => GetResourceString("SerializerConverterFactoryReturnsJsonConverterFactory", @"The converter '{0}' cannot return an instance of JsonConverterFactory."); 322internal static string @SerializerConverterFactoryInvalidArgument => GetResourceString("SerializerConverterFactoryInvalidArgument", @"The type '{0}' is not supported by the current JsonConverterFactory."); 324internal static string @NodeElementWrongType => GetResourceString("NodeElementWrongType", @"The element must be of type '{0}'"); 326internal static string @NodeElementCannotBeObjectOrArray => GetResourceString("NodeElementCannotBeObjectOrArray", @"The element cannot be an object or array."); 328internal static string @NodeAlreadyHasParent => GetResourceString("NodeAlreadyHasParent", @"The node already has a parent."); 330internal static string @NodeCycleDetected => GetResourceString("NodeCycleDetected", @"A node cycle was detected."); 332internal static string @NodeUnableToConvert => GetResourceString("NodeUnableToConvert", @"A value of type '{0}' cannot be converted to a '{1}'."); 334internal static string @NodeUnableToConvertElement => GetResourceString("NodeUnableToConvertElement", @"An element of type '{0}' cannot be converted to a '{1}'."); 336internal static string @NodeValueNotAllowed => GetResourceString("NodeValueNotAllowed", @"A JsonNode cannot be used as a value."); 338internal static string @NodeWrongType => GetResourceString("NodeWrongType", @"The node must be of type '{0}'."); 340internal static string @NodeParentWrongType => GetResourceString("NodeParentWrongType", @"The node must have a parent node of type '{0}'."); 342internal static string @NodeDuplicateKey => GetResourceString("NodeDuplicateKey", @"An item with the same key has already been added. Key: {0}"); 344internal static string @SerializerContextOptionsReadOnly => GetResourceString("SerializerContextOptionsReadOnly", @"JsonSerializerOptions instances cannot be modified once encapsulated by a JsonSerializerContext. Such encapsulation can happen either when calling 'JsonSerializerOptions.AddContext' or when passing the options instance to a JsonSerializerContext constructor."); 346internal static string @ConverterForPropertyMustBeValid => GetResourceString("ConverterForPropertyMustBeValid", @"The generic type of the converter for property '{0}.{1}' must match with the specified converter type '{2}'. The converter must not be 'null'."); 348internal static string @NoMetadataForType => GetResourceString("NoMetadataForType", @"JsonTypeInfo metadata for type '{0}' was not provided by TypeInfoResolver of type '{1}'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically."); 350internal static string @AmbiguousMetadataForType => GetResourceString("AmbiguousMetadataForType", @"Ambiguous matches when resolving JsonTypeInfo metadata for type '{0}': '{1}', '{2}'. Consider either explicitly providing metadata for the type or removing one of its interface implementations."); 352internal static string @CollectionIsReadOnly => GetResourceString("CollectionIsReadOnly", @"Collection is read-only."); 354internal static string @ArrayIndexNegative => GetResourceString("ArrayIndexNegative", @"Number was less than 0."); 356internal static string @ArrayTooSmall => GetResourceString("ArrayTooSmall", @"Destination array was not long enough."); 358internal static string @NodeJsonObjectCustomConverterNotAllowedOnExtensionProperty => GetResourceString("NodeJsonObjectCustomConverterNotAllowedOnExtensionProperty", @"A custom converter for JsonObject is not allowed on an extension property."); 360internal static string @NoMetadataForTypeProperties => GetResourceString("NoMetadataForTypeProperties", @"TypeInfoResolver '{0}' did not provide property metadata for type '{1}'."); 362internal static string @FieldCannotBeVirtual => GetResourceString("FieldCannotBeVirtual", @"A 'field' member cannot be 'virtual'. See arguments for the '{0}' and '{1}' parameters."); 364internal static string @MissingFSharpCoreMember => GetResourceString("MissingFSharpCoreMember", @"Could not locate required member '{0}' from FSharp.Core. This might happen because your application has enabled member-level trimming."); 366internal static string @FSharpDiscriminatedUnionsNotSupported => GetResourceString("FSharpDiscriminatedUnionsNotSupported", @"F# discriminated union serialization is not supported. Consider authoring a custom converter for the type."); 368internal static string @Polymorphism_BaseConverterDoesNotSupportMetadata => GetResourceString("Polymorphism_BaseConverterDoesNotSupportMetadata", @"The converter for polymorphic type '{0}' does not support metadata writes or reads."); 370internal static string @Polymorphism_DerivedConverterDoesNotSupportMetadata => GetResourceString("Polymorphism_DerivedConverterDoesNotSupportMetadata", @"The converter for derived type '{0}' does not support metadata writes or reads."); 372internal static string @Polymorphism_TypeDoesNotSupportPolymorphism => GetResourceString("Polymorphism_TypeDoesNotSupportPolymorphism", @"Specified type '{0}' does not support polymorphism. Polymorphic types cannot be structs, sealed types, generic types or System.Object."); 374internal static string @Polymorphism_DerivedTypeIsNotSupported => GetResourceString("Polymorphism_DerivedTypeIsNotSupported", @"Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type, must not be generic and cannot be abstract classes or interfaces unless 'JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor' is specified."); 376internal static string @Polymorphism_DerivedTypeIsAlreadySpecified => GetResourceString("Polymorphism_DerivedTypeIsAlreadySpecified", @"The polymorphic type '{0}' has already specified derived type '{1}'."); 378internal static string @Polymorphism_TypeDicriminatorIdIsAlreadySpecified => GetResourceString("Polymorphism_TypeDicriminatorIdIsAlreadySpecified", @"The polymorphic type '{0}' has already specified a type discriminator '{1}'."); 380internal static string @Polymorphism_InvalidCustomTypeDiscriminatorPropertyName => GetResourceString("Polymorphism_InvalidCustomTypeDiscriminatorPropertyName", @"The metadata property names '$id', '$ref', and '$values' are reserved and cannot be used as custom type discriminator property names."); 382internal static string @Polymorphism_PropertyConflictsWithMetadataPropertyName => GetResourceString("Polymorphism_PropertyConflictsWithMetadataPropertyName", @"The type '{0}' contains property '{1}' that conflicts with an existing metadata property name. Consider either renaming it or ignoring it with JsonIgnoreAttribute."); 384internal static string @Polymorphism_ConfigurationDoesNotSpecifyDerivedTypes => GetResourceString("Polymorphism_ConfigurationDoesNotSpecifyDerivedTypes", @"Polymorphic configuration for type '{0}' should specify at least one derived type."); 386internal static string @Polymorphism_UnrecognizedTypeDiscriminator => GetResourceString("Polymorphism_UnrecognizedTypeDiscriminator", @"Read unrecognized type discriminator id '{0}'."); 388internal static string @Polymorphism_RuntimeTypeNotSupported => GetResourceString("Polymorphism_RuntimeTypeNotSupported", @"Runtime type '{0}' is not supported by polymorphic type '{1}'."); 390internal static string @Polymorphism_RuntimeTypeDiamondAmbiguity => GetResourceString("Polymorphism_RuntimeTypeDiamondAmbiguity", @"Runtime type '{0}' has a diamond ambiguity between derived types '{1}' and '{2}' of polymorphic type '{3}'. Consider either removing one of the derived types or removing the 'JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor' setting."); 392internal static string @InvalidJsonTypeInfoOperationForKind => GetResourceString("InvalidJsonTypeInfoOperationForKind", @"Invalid JsonTypeInfo operation for JsonTypeInfoKind '{0}'."); 394internal static string @OnDeserializingCallbacksNotSupported => GetResourceString("OnDeserializingCallbacksNotSupported", @"The type '{0}' does not support setting OnDeserializing callbacks."); 396internal static string @CreateObjectConverterNotCompatible => GetResourceString("CreateObjectConverterNotCompatible", @"The converter for type '{0}' does not support setting 'CreateObject' delegates."); 398internal static string @JsonPropertyInfoBoundToDifferentParent => GetResourceString("JsonPropertyInfoBoundToDifferentParent", @"JsonPropertyInfo with name '{0}' for type '{1}' is already bound to different JsonTypeInfo."); 400internal static string @JsonSerializerOptionsNoTypeInfoResolverSpecified => GetResourceString("JsonSerializerOptionsNoTypeInfoResolverSpecified", @"JsonSerializerOptions instance must specify a TypeInfoResolver setting before being marked as read-only."); 402internal static string @JsonSerializerIsReflectionDisabled => GetResourceString("JsonSerializerIsReflectionDisabled", @"Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property."); 404internal static string @JsonPolymorphismOptionsAssociatedWithDifferentJsonTypeInfo => GetResourceString("JsonPolymorphismOptionsAssociatedWithDifferentJsonTypeInfo", @"Parameter already associated with a different JsonTypeInfo instance."); 406internal static string @JsonPropertyRequiredAndNotDeserializable => GetResourceString("JsonPropertyRequiredAndNotDeserializable", @"JsonPropertyInfo '{0}' defined in type '{1}' is marked required but does not specify a setter."); 408internal static string @JsonPropertyRequiredAndExtensionData => GetResourceString("JsonPropertyRequiredAndExtensionData", @"JsonPropertyInfo '{0}' defined in type '{1}' is marked both as required and as an extension data property. This combination is not supported."); 410internal static string @JsonRequiredPropertiesMissing => GetResourceString("JsonRequiredPropertiesMissing", @"JSON deserialization for type '{0}' was missing required properties including: {1}."); 412internal static string @ObjectCreationHandlingPopulateNotSupportedByConverter => GetResourceString("ObjectCreationHandlingPopulateNotSupportedByConverter", @"Property '{0}' on type '{1}' is marked with JsonObjectCreationHandling.Populate but it doesn't support populating. This can be either because the property type is immutable or it could use a custom converter."); 414internal static string @ObjectCreationHandlingPropertyMustHaveAGetter => GetResourceString("ObjectCreationHandlingPropertyMustHaveAGetter", @"Property '{0}' on type '{1}' is marked with JsonObjectCreationHandling.Populate but it doesn't have a getter."); 416internal static string @ObjectCreationHandlingPropertyValueTypeMustHaveASetter => GetResourceString("ObjectCreationHandlingPropertyValueTypeMustHaveASetter", @"Property '{0}' on type '{1}' is marked with JsonObjectCreationHandling.Populate but is a value type that doesn't have a setter."); 418internal static string @ObjectCreationHandlingPropertyCannotAllowPolymorphicDeserialization => GetResourceString("ObjectCreationHandlingPropertyCannotAllowPolymorphicDeserialization", @"Property '{0}' on type '{1}' is marked with JsonObjectCreationHandling.Populate but its type allows polymorphic deserialization."); 420internal static string @ObjectCreationHandlingPropertyCannotAllowReadOnlyMember => GetResourceString("ObjectCreationHandlingPropertyCannotAllowReadOnlyMember", @"Property '{0}' on type '{1}' is marked with JsonObjectCreationHandling.Populate but it is a read-only member and JsonSerializerOptions has IgnoreReadOnlyProperties or IgnoreReadOnlyFields set."); 422internal static string @ObjectCreationHandlingPropertyCannotAllowReferenceHandling => GetResourceString("ObjectCreationHandlingPropertyCannotAllowReferenceHandling", @"JsonObjectCreationHandling.Populate is incompatible with reference handling."); 424internal static string @ObjectCreationHandlingPropertyDoesNotSupportParameterizedConstructors => GetResourceString("ObjectCreationHandlingPropertyDoesNotSupportParameterizedConstructors", @"JsonObjectCreationHandling.Populate is currently not supported in types with parameterized constructors."); 426internal static string @FormatInt128 => GetResourceString("FormatInt128", @"Either the JSON value is not in a supported format, or is out of bounds for an Int128."); 428internal static string @FormatUInt128 => GetResourceString("FormatUInt128", @"Either the JSON value is not in a supported format, or is out of bounds for an UInt128."); 430internal static string @FormatHalf => GetResourceString("FormatHalf", @"Either the JSON value is not in a supported format, or is out of bounds for a Half."); 432internal static string @InvalidIndentCharacter => GetResourceString("InvalidIndentCharacter", @"Supported indentation characters are space and horizontal tab."); 434internal static string @InvalidIndentSize => GetResourceString("InvalidIndentSize", @"Indentation size must be between {0} and {1}."); 436internal static string @PipeWriterCanceled => GetResourceString("PipeWriterCanceled", @"PipeWriter.FlushAsync was canceled."); 438internal static string @PipeWriter_DoesNotImplementUnflushedBytes => GetResourceString("PipeWriter_DoesNotImplementUnflushedBytes", @"The PipeWriter '{0}' does not implement PipeWriter.UnflushedBytes."); 440internal static string @InvalidNewLine => GetResourceString("InvalidNewLine", @"New line can be only ""\n"" or ""\r\n""."); 442internal static string @PropertyGetterDisallowNull => GetResourceString("PropertyGetterDisallowNull", @"The property or field '{0}' on type '{1}' doesn't allow getting null values. Consider updating its nullability annotation."); 444internal static string @PropertySetterDisallowNull => GetResourceString("PropertySetterDisallowNull", @"The property or field '{0}' on type '{1}' doesn't allow setting null values. Consider updating its nullability annotation."); 446internal static string @ConstructorParameterDisallowNull => GetResourceString("ConstructorParameterDisallowNull", @"The constructor parameter '{0}' on type '{1}' doesn't allow null values. Consider updating its nullability annotation."); 448internal static string @JsonSchemaExporter_ReferenceHandlerPreserve_NotSupported => GetResourceString("JsonSchemaExporter_ReferenceHandlerPreserve_NotSupported", @"JSON schema generation is not supported for contracts using ReferenceHandler.Preserve."); 450internal static string @JsonSchemaExporter_DepthTooLarge => GetResourceString("JsonSchemaExporter_DepthTooLarge", @"The depth of the generated JSON schema exceeds the JsonSerializerOptions.MaxDepth setting."); 452internal static string @Arg_WrongType => GetResourceString("Arg_WrongType", @"The value '{0}' is not of type '{1}' and cannot be used in this generic collection."); 454internal static string @Arg_ArrayPlusOffTooSmall => GetResourceString("Arg_ArrayPlusOffTooSmall", @"Destination array is not long enough to copy all the items in the collection. Check array index and length."); 456internal static string @Arg_RankMultiDimNotSupported => GetResourceString("Arg_RankMultiDimNotSupported", @"Only single dimensional arrays are supported for the requested action."); 458internal static string @Arg_NonZeroLowerBound => GetResourceString("Arg_NonZeroLowerBound", @"The lower bound of target array must be zero."); 460internal static string @Argument_IncompatibleArrayType => GetResourceString("Argument_IncompatibleArrayType", @"Target array type is not compatible with the type of items in the collection."); 462internal static string @Arg_KeyNotFoundWithKey => GetResourceString("Arg_KeyNotFoundWithKey", @"The given key '{0}' was not present in the dictionary."); 464internal static string @Argument_AddingDuplicate => GetResourceString("Argument_AddingDuplicate", @"An item with the same key has already been added. Key: {0}"); 466internal static string @InvalidOperation_ConcurrentOperationsNotSupported => GetResourceString("InvalidOperation_ConcurrentOperationsNotSupported", @"Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct."); 468internal static string @InvalidOperation_EnumFailedVersion => GetResourceString("InvalidOperation_EnumFailedVersion", @"Collection was modified after the enumerator was instantiated."); 470internal static string @ArgumentOutOfRange_Generic_MustBeNonNegative => GetResourceString("ArgumentOutOfRange_Generic_MustBeNonNegative", @"{0} ('{1}') must be a non-negative value."); 472internal static string @ArgumentOutOfRange_Generic_MustBeGreaterOrEqual => GetResourceString("ArgumentOutOfRange_Generic_MustBeGreaterOrEqual", @"{0} ('{1}') must be greater than or equal to '{2}'."); 474internal static string @ArgumentOutOfRange_Generic_MustBeLessOrEqual => GetResourceString("ArgumentOutOfRange_Generic_MustBeLessOrEqual", @"{0} ('{1}') must be less than or equal to '{2}'."); 476internal static string @Arg_HTCapacityOverflow => GetResourceString("Arg_HTCapacityOverflow", @"Hashtable's capacity overflowed and went negative. Check load factor, capacity and the current size of the table."); 478internal static string @Argument_InvalidOffLen => GetResourceString("Argument_InvalidOffLen", @"Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."); 480internal static string @CannotWriteWithinString => GetResourceString("CannotWriteWithinString", @"Writing a JSON property or value before writing the final string value segment is not supported."); 482internal static string @Arg_MustBeRune => GetResourceString("Arg_MustBeRune", @"Object must be of type Rune."); 484internal static string @ArgumentOutOfRange_IndexMustBeLess => GetResourceString("ArgumentOutOfRange_IndexMustBeLess", @"Index was out of range. Must be non-negative and less than the size of the collection."); 486internal static string @Argument_DestinationTooShort => GetResourceString("Argument_DestinationTooShort", @"Destination is too short."); 488internal static string @Argument_CannotExtractScalar => GetResourceString("Argument_CannotExtractScalar", @"Cannot extract a Unicode scalar value from the specified index in the input."); 490internal static string @CannotMixEncodings => GetResourceString("CannotMixEncodings", @"Mixing UTF encodings in a single multi-segment JSON string is not supported. The previous segment's encoding was '{0}' and the current segment's encoding is '{1}'."); 492internal static string @DuplicatePropertiesNotAllowed_JsonPropertyInfo => GetResourceString("DuplicatePropertiesNotAllowed_JsonPropertyInfo", @"Duplicate property '{0}' encountered during deserialization of type '{1}'."); 494internal static string @DuplicatePropertiesNotAllowed_NameSpan => GetResourceString("DuplicatePropertiesNotAllowed_NameSpan", @"Duplicate property '{0}' encountered during deserialization."); 496internal static string @DuplicatePropertiesNotAllowed => GetResourceString("DuplicatePropertiesNotAllowed", @"Duplicate properties not allowed during deserialization.");