Description
CustomAttributeTypedArgument.ToString() produces malformed output if the argument is an array.
Reproduction Steps
Console.WriteLine(
new System.Reflection.CustomAttributeTypedArgument(
new [] { new System.Reflection.CustomAttributeTypedArgument(0) }));
Expected behavior
new CustomAttributeTypedArgument[1] { 0 }
Actual behavior
new CustomAttributeTypedArgument[1]0 }
Regression?
It's a regression. The bug was introduced after the .NET 5 release: 0c79392#diff-f43b9f98fddac0e7fa971362f6f07f5fc9a3a0a41b485e9df15df87c99d638cb
Known Workarounds
No response
Configuration
Works before 0c79392. Doesn't work after.
Other information
No response
Description
CustomAttributeTypedArgument.ToString()produces malformed output if the argument is an array.Reproduction Steps
Expected behavior
Actual behavior
Regression?
It's a regression. The bug was introduced after the .NET 5 release: 0c79392#diff-f43b9f98fddac0e7fa971362f6f07f5fc9a3a0a41b485e9df15df87c99d638cb
Known Workarounds
No response
Configuration
Works before 0c79392. Doesn't work after.
Other information
No response