// Token: 0x06000526 RID: 1318 RVA: 0x0002C0D8 File Offset: 0x0002A2D8 public static Class57 <Struct45> smethod_2(Type type_0) { Class57 <Struct45> @class = new Class57 <Struct45>(); Type type = type_0; for (;;) { if (type.IsArray) { @class.method_7(new Struct45 { int_0 = 0, int_1 = type.GetArrayRank() }); } else if (type.IsByRef) { @class.method_7(new Struct45 { int_0 = 2 }); } else { if (!type.IsPointer) { break; } @class.method_7(new Struct45 { int_0 = 1 }); } type = type.GetElementType(); } return(@class); }
// Token: 0x06000527 RID: 1319 RVA: 0x0002C16C File Offset: 0x0002A36C public static Class57 <Struct45> smethod_3(string string_0) { string text = string_0; Class57 <Struct45> @class = new Class57 <Struct45>(); for (;;) { if (text.EndsWith(Class185.smethod_0(537697202), StringComparison.Ordinal)) { @class.method_7(new Struct45 { int_0 = 2 }); text = text.Substring(0, text.Length - 1); } else if (text.EndsWith(Class185.smethod_0(537697194), StringComparison.Ordinal)) { @class.method_7(new Struct45 { int_0 = 1 }); text = text.Substring(0, text.Length - 1); } else if (text.EndsWith(Class185.smethod_0(537697186), StringComparison.Ordinal)) { @class.method_7(new Struct45 { int_0 = 0, int_1 = 1 }); text = text.Substring(0, text.Length - 2); } else { if (!text.EndsWith(Class185.smethod_0(537697243), StringComparison.Ordinal)) { return(@class); } int num = 1; int num2 = -1; for (int i = text.Length - 2; i >= 0; i--) { char c = text[i]; if (c != ',') { if (c != '[') { goto Block_5; } num2 = i; i = -1; } else { num++; } } if (num2 < 0) { goto IL_159; } text = text.Substring(0, num2); @class.method_7(new Struct45 { int_0 = 0, int_1 = num }); } } Block_5: throw new InvalidOperationException(Class185.smethod_0(537697236)); IL_159: throw new InvalidOperationException(Class185.smethod_0(537697218)); }