[csharp] repl using statement fix + support for --fatal
[mono.git] / mcs / mcs / delegate.cs
index 0a7eb732e702d135e5ed376198075f37162bacca..b6a461f9b4a9b6f721458d6fd7018241197fcab7 100644 (file)
@@ -298,9 +298,10 @@ namespace Mono.CSharp {
                                }
                        }
 
-                       parameters.ApplyAttributes (this, InvokeBuilder.MethodBuilder);
-                       
+                       Constructor.ParameterInfo.ApplyAttributes (this, Constructor.ConstructorBuilder);
                        Constructor.ConstructorBuilder.SetImplementationFlags (MethodImplAttributes.Runtime);
+
+                       parameters.ApplyAttributes (this, InvokeBuilder.MethodBuilder);
                        InvokeBuilder.MethodBuilder.SetImplementationFlags (MethodImplAttributes.Runtime);
 
                        if (BeginInvokeBuilder != null) {