Zdexby TheHolyOneZ
49,743 classes
Class

ThrowHelper

: Object
System.Text.Json.ThrowHelper, Sentry.System.Text.Json 0x0010 (16 B) inherited 0x0010 Sentry.System.Text.Json.dll
0x00x0010

Members 1

OffsetSizeNameTypeFlagsDefault
—0x08ExceptionSourceValueToRethrowAsJsonExceptionstringPublicStatic+1 flags2006077468768

Functions 134

SignatureFlagsNativeParams
void ThrowOutOfMemoryException_BufferMaximumSizeExceeded(uint capacity)PublicStatic0x04
ArgumentOutOfRangeException GetArgumentOutOfRangeException_MaxDepthMustBePositive(const string& parameterName)PublicStatic0x08
ArgumentOutOfRangeException GetArgumentOutOfRangeException(const string& parameterName, const string& message)PrivateStatic0x08
ArgumentOutOfRangeException GetArgumentOutOfRangeException_CommentEnumMustBeInRange(const string& parameterName)PublicStatic0x08
ArgumentException GetArgumentException(const string& message)PrivateStatic0x08
void ThrowArgumentException(const string& message)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_CallFlushFirst(int _buffered)PublicStatic0x08
void ThrowArgumentException_PropertyNameTooLarge(int tokenLength)PublicStatic0x04
void ThrowArgumentException_ValueTooLarge(int tokenLength)PublicStatic0x04
void ThrowArgumentException_ValueNotSupported()PublicStatic0x00
void ThrowInvalidOperationException_NeedLargerSpan()PublicStatic0x00
void ThrowArgumentException(const ReadOnlySpan<System.Byte>& propertyName, const ReadOnlySpan<System.Byte>& value)PublicStatic0x18
void ThrowArgumentException(const ReadOnlySpan<System.Byte>& propertyName, const ReadOnlySpan<System.Char>& value)PublicStatic0x18
void ThrowArgumentException(const ReadOnlySpan<System.Char>& propertyName, const ReadOnlySpan<System.Byte>& value)PublicStatic0x18
void ThrowArgumentException(const ReadOnlySpan<System.Char>& propertyName, const ReadOnlySpan<System.Char>& value)PublicStatic0x18
void ThrowInvalidOperationOrArgumentException(const ReadOnlySpan<System.Byte>& propertyName, int currentDepth)PublicStatic0x18
void ThrowInvalidOperationException(int currentDepth)PublicStatic0x04
void ThrowInvalidOperationException(const string& message)PublicStatic0x08
InvalidOperationException GetInvalidOperationException(const string& message)PrivateStatic0x08
void ThrowInvalidOperationException_DepthNonZeroOrEmptyJson(int currentDepth)PublicStatic0x04
InvalidOperationException GetInvalidOperationException(int currentDepth)PrivateStatic0x08
void ThrowInvalidOperationOrArgumentException(const ReadOnlySpan<System.Char>& propertyName, int currentDepth)PublicStatic0x18
InvalidOperationException GetInvalidOperationException_ExpectedArray(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedObject(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedNumber(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedBoolean(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedString(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedStringComparison(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedComment(const JsonTokenType& tokenType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_CannotSkipOnPartial()PublicStatic0x08
InvalidOperationException GetInvalidOperationException(const string& message, const JsonTokenType& tokenType)PrivateStatic0x08
InvalidOperationException GetInvalidOperationException(const JsonTokenType& tokenType)PrivateStatic0x08
InvalidOperationException GetJsonElementWrongTypeException(const JsonTokenType& expectedType, const JsonTokenType& actualType)Static+1 flags0x08
InvalidOperationException GetJsonElementWrongTypeException(const string& expectedTypeName, const JsonTokenType& actualType)Static+1 flags0x08
InvalidOperationException GetJsonElementWrongTypeException(const JsonValueKind& expectedType, const JsonValueKind& actualType)Static+1 flags0x08
InvalidOperationException GetJsonElementWrongTypeException(const string& expectedTypeName, const JsonValueKind& actualType)Static+1 flags0x08
void ThrowJsonReaderException(ref Utf8JsonReader& json, const ExceptionResource& resource, byte nextByte, const ReadOnlySpan<System.Byte>& bytes)PublicStatic0xF0
JsonException GetJsonReaderException(ref Utf8JsonReader& json, const ExceptionResource& resource, byte nextByte, const ReadOnlySpan<System.Byte>& bytes)PublicStatic0xF0
bool IsPrintable(byte value)PrivateStatic0x01
string GetPrintableString(byte value)Static+1 flags0x08
string GetResourceString(ref Utf8JsonReader& json, const ExceptionResource& resource, byte nextByte, const string& characters)PrivateStatic0xF0
void ThrowInvalidOperationException(const ExceptionResource& resource, int currentDepth, byte token, const JsonTokenType& tokenType)PublicStatic0x04
void ThrowArgumentException_InvalidCommentValue()PublicStatic0x00
void ThrowArgumentException_InvalidUTF8(const ReadOnlySpan<System.Byte>& value)PublicStatic0x18
void ThrowArgumentException_InvalidUTF16(int charAsInt)PublicStatic0x04
void ThrowInvalidOperationException_ReadInvalidUTF16(int charAsInt)PublicStatic0x04
void ThrowInvalidOperationException_ReadInvalidUTF16()PublicStatic0x00
InvalidOperationException GetInvalidOperationException_ReadInvalidUTF8(DecoderFallbackException innerException)PublicStatic0x08
ArgumentException GetArgumentException_ReadInvalidUTF16(EncoderFallbackException innerException)PublicStatic0x08
InvalidOperationException GetInvalidOperationException(const string& message, Exception innerException)PublicStatic0x08
InvalidOperationException GetInvalidOperationException(const ExceptionResource& resource, int currentDepth, byte token, const JsonTokenType& tokenType)PublicStatic0x08
void ThrowOutOfMemoryException(uint capacity)PublicStatic0x04
string GetResourceString(const ExceptionResource& resource, int currentDepth, byte token, const JsonTokenType& tokenType)PrivateStatic0x08
FormatException GetFormatException()PublicStatic0x08
FormatException GetFormatException(const NumericType& numericType)PublicStatic0x08
FormatException GetFormatException(const DataType& dateType)PublicStatic0x08
InvalidOperationException GetInvalidOperationException_ExpectedChar(const JsonTokenType& tokenType)PublicStatic0x08
void ThrowArgumentException_NodeValueNotAllowed(const string& paramName)PublicStatic0x08
void ThrowArgumentException_NodeArrayTooSmall(const string& paramName)PublicStatic0x08
void ThrowArgumentOutOfRangeException_NodeArrayIndexNegative(const string& paramName)PublicStatic0x08
void ThrowArgumentException_DuplicateKey(const string& propertyName)PublicStatic0x08
void ThrowInvalidOperationException_NodeAlreadyHasParent()PublicStatic0x00
void ThrowInvalidOperationException_NodeCycleDetected()PublicStatic0x00
void ThrowInvalidOperationException_NodeElementCannotBeObjectOrArray()PublicStatic0x00
void ThrowNotSupportedException_NodeCollectionIsReadOnly()PublicStatic0x00
NotSupportedException NotSupportedException_NodeCollectionIsReadOnly()PublicStatic0x08
void ThrowArgumentException_DeserializeWrongType(Type type, object value)PublicStatic0x08
void ThrowNotSupportedException_SerializationNotSupported(Type propertyType)PublicStatic0x08
void ThrowNotSupportedException_TypeRequiresAsyncSerialization(Type propertyType)PublicStatic0x08
void ThrowNotSupportedException_ConstructorMaxOf64Parameters(Type type)PublicStatic0x08
void ThrowNotSupportedException_DictionaryKeyTypeNotSupported(Type keyType, JsonConverter converter)PublicStatic0x08
void ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)PublicStatic0x08
void ThrowInvalidCastException_DeserializeUnableToAssignValue(Type typeOfValue, Type declaredType)PublicStatic0x08
void ThrowInvalidOperationException_DeserializeUnableToAssignNull(Type declaredType)PublicStatic0x08
void ThrowJsonException_SerializationConverterRead(JsonConverter converter)PublicStatic0x08
void ThrowJsonException_SerializationConverterWrite(JsonConverter converter)PublicStatic0x08
void ThrowJsonException_SerializerCycleDetected(int maxDepth)PublicStatic0x04
void ThrowJsonException(const string& message)PublicStatic0x08
void ThrowInvalidOperationException_CannotSerializeInvalidType(Type type, Type parentClassType, MemberInfo memberInfo)PublicStatic0x08
void ThrowInvalidOperationException_SerializationConverterNotCompatible(Type converterType, Type type)PublicStatic0x08
void ThrowInvalidOperationException_SerializationConverterOnAttributeInvalid(Type classType, MemberInfo memberInfo)PublicStatic0x08
void ThrowInvalidOperationException_SerializationConverterOnAttributeNotCompatible(Type classTypeAttributeIsOn, MemberInfo memberInfo, Type typeToConvert)PublicStatic0x08
void ThrowInvalidOperationException_SerializerOptionsImmutable(JsonSerializerContext context)PublicStatic0x08
void ThrowInvalidOperationException_SerializerPropertyNameConflict(Type type, JsonPropertyInfo jsonPropertyInfo)PublicStatic0x08
void ThrowInvalidOperationException_SerializerPropertyNameNull(Type parentType, JsonPropertyInfo jsonPropertyInfo)PublicStatic0x08
void ThrowInvalidOperationException_NamingPolicyReturnNull(JsonNamingPolicy namingPolicy)PublicStatic0x08
void ThrowInvalidOperationException_SerializerConverterFactoryReturnsNull(Type converterType)PublicStatic0x08
void ThrowInvalidOperationException_SerializerConverterFactoryReturnsJsonConverterFactorty(Type converterType)PublicStatic0x08
void ThrowInvalidOperationException_MultiplePropertiesBindToConstructorParameters(Type parentType, const string& parameterName, const string& firstMatchName, const string& secondMatchName)PublicStatic0x08
void ThrowInvalidOperationException_ConstructorParameterIncompleteBinding(Type parentType)PublicStatic0x08
void ThrowInvalidOperationException_ExtensionDataCannotBindToCtorParam(JsonPropertyInfo jsonPropertyInfo)PublicStatic0x08
void ThrowInvalidOperationException_JsonIncludeOnNonPublicInvalid(const string& memberName, Type declaringType)PublicStatic0x08
void ThrowInvalidOperationException_IgnoreConditionOnValueTypeInvalid(const string& clrPropertyName, Type propertyDeclaringType)PublicStatic0x08
void ThrowInvalidOperationException_NumberHandlingOnPropertyInvalid(JsonPropertyInfo jsonPropertyInfo)PublicStatic0x08
void ThrowInvalidOperationException_ConverterCanConvertMultipleTypes(Type runtimePropertyType, JsonConverter jsonConverter)PublicStatic0x08
void ThrowNotSupportedException_ObjectWithParameterizedCtorRefMetadataNotHonored(const ReadOnlySpan<System.Byte>& propertyName, ref Utf8JsonReader& reader, ref ReadStack& state)PublicStatic0xF0
void ReThrowWithPath(ref ReadStack& state, JsonReaderException ex)PublicStatic0xB0
void ReThrowWithPath(ref ReadStack& state, ref Utf8JsonReader& reader, Exception ex)PublicStatic0xF0
void AddJsonExceptionInformation(ref ReadStack& state, ref Utf8JsonReader& reader, JsonException ex)PublicStatic0xF0
void ReThrowWithPath(ref WriteStack& state, Exception ex)PublicStatic0xB0
void AddJsonExceptionInformation(ref WriteStack& state, JsonException ex)PublicStatic0xB0
void ThrowInvalidOperationException_SerializationDuplicateAttribute(Type attribute, Type classType, MemberInfo memberInfo)PublicStatic0x08
void ThrowInvalidOperationException_SerializationDuplicateTypeAttribute(Type classType, Type attribute)PublicStatic0x08
void ThrowInvalidOperationException_SerializationDuplicateTypeAttribute(Type classType)PublicStatic0x08
void ThrowInvalidOperationException_SerializationDataExtensionPropertyInvalid(Type type, JsonPropertyInfo jsonPropertyInfo)PublicStatic0x08
void ThrowNotSupportedException(ref ReadStack& state, ref Utf8JsonReader& reader, NotSupportedException ex)PublicStatic0xF0
void ThrowNotSupportedException(ref WriteStack& state, NotSupportedException ex)PublicStatic0xB0
void ThrowNotSupportedException_DeserializeNoConstructor(Type type, ref Utf8JsonReader& reader, ref ReadStack& state)PublicStatic0xF0
void ThrowNotSupportedException_CannotPopulateCollection(Type type, ref Utf8JsonReader& reader, ref ReadStack& state)PublicStatic0xF0
void ThrowJsonException_MetadataValuesInvalidToken(const JsonTokenType& tokenType)PublicStatic0x01
void ThrowJsonException_MetadataReferenceNotFound(const string& id)PublicStatic0x08
void ThrowJsonException_MetadataValueWasNotString(const JsonTokenType& tokenType)PublicStatic0x01
void ThrowJsonException_MetadataValueWasNotString(const JsonValueKind& valueKind)PublicStatic0x01
void ThrowJsonException_MetadataReferenceObjectCannotContainOtherProperties(const ReadOnlySpan<System.Byte>& propertyName, ref ReadStack& state)PublicStatic0xB0
void ThrowJsonException_MetadataReferenceObjectCannotContainOtherProperties()PublicStatic0x00
void ThrowJsonException_MetadataIdIsNotFirstProperty(const ReadOnlySpan<System.Byte>& propertyName, ref ReadStack& state)PublicStatic0xB0
void ThrowJsonException_MetadataMissingIdBeforeValues(ref ReadStack& state, const ReadOnlySpan<System.Byte>& propertyName)PublicStatic0xB0
void ThrowJsonException_MetadataInvalidPropertyWithLeadingDollarSign(const ReadOnlySpan<System.Byte>& propertyName, ref ReadStack& state, ref Utf8JsonReader& reader)PublicStatic0xF0
void ThrowJsonException_MetadataDuplicateIdFound(const string& id)PublicStatic0x08
void ThrowJsonException_MetadataInvalidReferenceToValueType(Type propertyType)PublicStatic0x08
void ThrowJsonException_MetadataPreservedArrayInvalidProperty(ref ReadStack& state, Type propertyType, ref Utf8JsonReader& reader)PublicStatic0xF0
void ThrowJsonException_MetadataPreservedArrayValuesNotFound(ref ReadStack& state, Type propertyType)PublicStatic0xB0
void ThrowJsonException_MetadataCannotParsePreservedObjectIntoImmutable(Type propertyType)PublicStatic0x08
void ThrowInvalidOperationException_MetadataReferenceOfTypeCannotBeAssignedToType(const string& referenceId, Type currentType, Type typeToConvert)PublicStatic0x08
void ThrowUnexpectedMetadataException(const ReadOnlySpan<System.Byte>& propertyName, ref Utf8JsonReader& reader, ref ReadStack& state)Static+1 flags0xF0
void ThrowInvalidOperationException_JsonSerializerOptionsAlreadyBoundToContext()PublicStatic0x00
void ThrowNotSupportedException_BuiltInConvertersNotRooted(Type type)PublicStatic0x08
void ThrowNotSupportedException_NoMetadataForType(Type type)PublicStatic0x08
void ThrowInvalidOperationException_NoMetadataForType(Type type)PublicStatic0x08
void ThrowInvalidOperationException_MetadatInitFuncsNull()PublicStatic0x00
void ThrowInvalidOperationException_NoMetadataForTypeProperties(JsonSerializerContext context, Type type)PublicStatic0x08
void ThrowInvalidOperationException_NoMetadataForTypeCtorParams(JsonSerializerContext context, Type type)PublicStatic0x08
void ThrowInvalidOperationException_NoDefaultOptionsForContext(JsonSerializerContext context, Type type)PublicStatic0x08
void ThrowMissingMemberException_MissingFSharpCoreMember(const string& missingFsharpCoreMember)PublicStatic0x08