public void CheckArrayAsAttribute (CompilerContext ctx) { foreach (Argument arg in args) { // Type is undefined (was error 246) if (arg.Type == null) continue; if (arg.Type.IsArray) ctx.Report.Warning (3016, 1, arg.Expr.Location, "Arrays as attribute arguments are not CLS-compliant"); } }