[FAIL] System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests.TestCustomAttributeDecoderGenericUsingReflection
System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
at System.Reflection.Metadata.Decoding.Tests.CustomAttributeDecoderTests.CustomAttributeTypeProvider.GetUnderlyingEnumType(String type)
at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1.DecodeFixedArgumentType(BlobReader& signatureReader, BlobReader genericContextReader, Boolean isElementType)
at System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1.DecodeFixedArguments(BlobReader& signatureReader, BlobReader& valueReader, Int32 count, BlobReader genericContextReader)
{
"ErrorMessage": ["TestCustomAttributeDecoderGenericUsingReflection", "System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values."],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1429323
Build error leg or test failing: maccatalyst-arm64 Release AllSubsets_CoreCLR - System.Reflection.Metadata.Tests
Error Details
CustomAttributeDecoderTests.TestCustomAttributeDecoderGenericUsingReflectionfails on maccatalyst-arm64 (AllSubsets_CoreCLR) withSystem.ArgumentOutOfRangeExceptioninCustomAttributeTypeProvider.GetUnderlyingEnumType. The test relies on reflection-based enum type resolution that behaves differently on mobile CoreCLR.Affected legs:
First build it occurred: 1425947 (2026-05-19). 3 occurrences in scanned window.
In-flight fix: #128409
Error Message
{ "ErrorMessage": ["TestCustomAttributeDecoderGenericUsingReflection", "System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values."], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Note
🔒 Integrity filter blocked 1 item
The following item was blocked because it doesn't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:Report
Summary