X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fmcs%2Fsupport.cs;h=93ff972d7b60667a42c4d49292b26d687cbbb21a;hb=925873231901020ab6cdc869b0966b6b02378738;hp=e915f49e01faa559554b1039cb996180f8cda3bd;hpb=5b13ec2c6cfef09cdabfe608f6f5e64685ae2ef6;p=mono.git diff --git a/mcs/mcs/support.cs b/mcs/mcs/support.cs index e915f49e01f..93ff972d7b6 100755 --- a/mcs/mcs/support.cs +++ b/mcs/mcs/support.cs @@ -93,7 +93,7 @@ namespace Mono.CSharp { public Parameter.Modifier ParameterModifier (int pos) { int len = pi.Length; - + if (pos >= len - 1) if (last_arg_is_params) return Parameter.Modifier.PARAMS; @@ -251,4 +251,5 @@ namespace Mono.CSharp { Second = s; } } + }