Skip to content

[tvOS] "System.BadImageFormatException : Invalid serialized string" in System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests.TestCustomAttributeDecoder #60165

Open
@MaximLipnin

Description

<test name="System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests.TestCustomAttributeDecoder" type="System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests" method="TestCustomAttributeDecoder" time="0.0222742" result="Fail">
    <failure exception-type="System.BadImageFormatException">
        <message><![CDATA[System.BadImageFormatException : Invalid serialized string.]]></message>
        <stack-trace><![CDATA[   at System.Reflection.Throw.InvalidSerializedString()
        at System.Reflection.Metadata.BlobReader.ReadSerializedString()
        at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DecodeArgument(BlobReader& valueReader, ArgumentTypeInfo info)
        at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DecodeArrayArgument(BlobReader& blobReader, ArgumentTypeInfo info)
        at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DecodeArgument(BlobReader& valueReader, ArgumentTypeInfo info)
        at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DecodeFixedArguments(BlobReader& signatureReader, BlobReader& valueReader, Int32 count)
        at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DecodeValue(EntityHandle constructor, BlobHandle value)
        at System.Reflection.Metadata.CustomAttribute.DecodeValue[String](ICustomAttributeTypeProvider`1 provider)
        at System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests.TestCustomAttributeDecoder()
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)]]></stack-trace>
    </failure>
</tes

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-59503-merge-82a08e0bf78247ad85/System.Reflection.Metadata.Tests/1/testResults.xml?sv=2019-07-07&se=2021-10-27T21%3A20%3A15Z&sr=c&sp=rl&sig=l6x81ojLuccAHXezeNAnngaxlFWwA%2FvquAUqBhREPyM%3D

#59503

cc @steveisok

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-System.Reflection.Metadataneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationos-tvosApple tvOStest-bugProblem in test source code (most likely)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions