From: kloun Date: Thu, 22 Sep 2016 21:24:37 +0000 (+0300) Subject: fix typo, "j-j" X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=90601ba4cfe60a41494034f8224758b653efe695;p=mono.git fix typo, "j-j" --- diff --git a/mcs/mcs/ecore.cs b/mcs/mcs/ecore.cs index edc860eca83..2077f26bf2c 100644 --- a/mcs/mcs/ecore.cs +++ b/mcs/mcs/ecore.cs @@ -4784,7 +4784,7 @@ namespace Mono.CSharp { // is no better expression conversion // if (candidate_pd.Count < best_pd.Count) { - if (!candidate_params && !candidate_pd.FixedParameters [j - j].HasDefaultValue) { + if (!candidate_params && !candidate_pd.FixedParameters [j - 1].HasDefaultValue) { return true; } } else if (candidate_pd.Count == best_pd.Count) {