Skip to content

[iOS/tvOS] CustomAttributeDecoderTests.TestCustomAttributeDecoder failing on devices #60579

Description

@steveisok

This test fails with:

System.BadImageFormatException : Invalid serialized string.
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)

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions