diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-10-12 00:14:38 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-10-12 00:14:38 +0400 |
commit | 492d1d3251f59084560d7a7ac317475cd8c1a6b1 (patch) | |
tree | 06ab63bf078fc945686383255569750723d68b25 /mcs/class/System/System.CodeDom | |
parent | 9f7c6c3b974fec49131c6e5fc0f94e7bfe4caf88 (diff) |
2002-10-11 Ravi Pratap <ravi@ximian.com>
* CodeMethodInvokeExpression.cs : Fix second constructor so that
the last argument is params - that is what the docs say.
svn path=/trunk/mcs/; revision=8176
Diffstat (limited to 'mcs/class/System/System.CodeDom')
-rw-r--r-- | mcs/class/System/System.CodeDom/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mcs/class/System/System.CodeDom/ChangeLog b/mcs/class/System/System.CodeDom/ChangeLog index 6b957f7b250..5349e5c52b5 100644 --- a/mcs/class/System/System.CodeDom/ChangeLog +++ b/mcs/class/System/System.CodeDom/ChangeLog @@ -1,3 +1,8 @@ +2002-10-11 Ravi Pratap <ravi@ximian.com> + + * CodeMethodInvokeExpression.cs : Fix second constructor so that + the last argument is params - that is what the docs say. + 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com> * CodeBinaryOperatorType.cs: diff --git a/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs b/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs index e01fdf5fdcd..f23b69eec5c 100755 --- a/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs +++ b/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs @@ -34,9 +34,9 @@ namespace System.CodeDom this.Parameters.AddRange( parameters ); } - public CodeMethodInvokeExpression ( CodeExpression targetObject, - string methodName, - CodeExpression [] parameters) + public CodeMethodInvokeExpression (CodeExpression targetObject, + string methodName, + params CodeExpression [] parameters) { this.method = new CodeMethodReferenceExpression( targetObject, methodName ); this.Parameters.AddRange (parameters); |