public void CalcSig() { string tyStr = ""; if (typeArgs != null) { string[] ss = new string[typeArgs.Count]; int i = 0; foreach (TypeInfo ti in typeArgs) { if (ti == null) { ss[i] = ""; } else { ss[i] = ti.TypeClause; } i++; } tyStr = string.Join(",", ss); } string argStr = Params.CalcSig(args); sig = name + "_" + tyStr + "_" + argStr; }