this.idx = index;
texpr = expr;
parameter_type = texpr.Type;
-
- // Ignore all checks for dummy members
- AbstractPropertyEventMethod pem = rc as AbstractPropertyEventMethod;
- if (pem != null && pem.IsDummy)
- return parameter_type;
-
+
if ((modFlags & Parameter.Modifier.ISBYREF) != 0 &&
TypeManager.IsSpecialType (parameter_type)) {
rc.Compiler.Report.Error (1601, Location, "Method or delegate parameter cannot be of type `{0}'",
return new ArrayCreation (
Parameter.ResolveParameterExpressionType (ec, loc),
- "[]", initializers, loc);
+ initializers, loc);
}
public ParametersCompiled Clone ()