private static bool TryGetArity(TypeParser.Type type) { int num = 0; TypeParser.TryAddArity(type.type_fullname, ref num); string[] nested_names = type.nested_names; if (!nested_names.IsNullOrEmpty <string>()) { for (int i = 0; i < nested_names.Length; i++) { TypeParser.TryAddArity(nested_names[i], ref num); } } type.arity = num; return(num > 0); }