[Mark(b: new string[] { ""Hello"", ""World"" }, a: true)]
[Mark(b: ""Hello"", true)]
static class Program
{
}",parseOptions:TestOptions.Regular7_2);
comp.VerifyDiagnostics(
// (11,2): error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
// [Mark(b: new string[] { "Hello", "World" }, a: true)]
Diagnostic(ErrorCode.ERR_BadAttributeArgument,@"Mark(b: new string[] { ""Hello"", ""World"" }, a: true)").WithLocation(11,2),
// (12,7): error CS8323: Named argument 'b' is used out-of-position but is followed by an unnamed argument