private static string GetFriendlyGenericInstanceName(this GenericInstanceType self, ILanguage language, string leftBracket, string rightbracket) { V_0 = new StringBuilder(); V_1 = GenericHelper.GetNonGenericName(self.get_Name()); dummyVar0 = V_0.Append(GenericHelper.ReplaceInvalidCharactersName(language, V_1)); if (language != null && String.op_Equality(language.get_Name(), "IL")) { V_2 = self.get_GenericArguments().get_Count(); V_1 = String.Concat(V_1, "`", V_2.ToString()); return(V_1); } dummyVar1 = V_0.Append(leftBracket); V_3 = 0; while (V_3 < self.get_GenericArguments().get_Count()) { if (V_3 > 0) { dummyVar2 = V_0.Append(", "); } dummyVar3 = V_0.Append(self.get_GenericArguments().get_Item(V_3).GetGenericName(language, leftBracket, rightbracket)); V_3 = V_3 + 1; } dummyVar4 = V_0.Append(rightbracket); return(V_0.ToString()); }