terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ServiceNameCollection.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020000E6 RID: 230
10 {
11 // Token: 0x0600053E RID: 1342 RVA: 0x00014F74 File Offset: 0x00013174
13 {
14 if (items != null)
15 {
16 return;
17 }
18 throw new OutOfMemoryException();
19 }
20
21 // Token: 0x0600053F RID: 1343 RVA: 0x00014FC0 File Offset: 0x000131C0
27
28 // Token: 0x06000540 RID: 1344 RVA: 0x00014FF0 File Offset: 0x000131F0
29 internal static bool Contains(string searchServiceName, ICollection serviceNames)
30 {
31 if (searchServiceName != null)
32 {
33 }
34 int num;
35 while (num != 0)
36 {
37 }
38 long num2 = 0L;
39 if (searchServiceName != null)
40 {
41 }
42 if (num2 == 0L)
43 {
44 throw new InvalidCastException();
45 }
46 throw new OutOfMemoryException();
47 }
48
49 // Token: 0x06000541 RID: 1345 RVA: 0x00015028 File Offset: 0x00013228
50 internal static string NormalizeServiceName(string inputServiceName)
51 {
52 bool flag = string.IsNullOrWhiteSpace("{0}{1}{2}{3}");
53 long num = 0L;
54 string text2;
55 string text = text2.Substring((int)num);
56 bool flag2 = string.IsNullOrWhiteSpace(text);
57 if (global::System.Uri.CheckHostName(text) != global::System.UriHostNameType.Unknown)
58 {
59 }
60 int num2 = 47;
61 int num3 = text.IndexOf((char)num2);
62 long num4 = 0L;
63 string text3 = text.Substring((int)num4, num3);
64 return text.Substring(num3);
65 }
66
67 // Token: 0x06000542 RID: 1346 RVA: 0x00002050 File Offset: 0x00000250
68 internal static bool Match(string serviceName1, string serviceName2)
69 {
70 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
71 }
72 }
73}
class f__AnonymousType0<< Count > j__TPar
static bool Contains(string searchServiceName, ICollection serviceNames)
static void AddIfNew(ArrayList newServiceNames, string serviceName)
static bool Match(string serviceName1, string serviceName2)
static global::System.UriHostNameType CheckHostName(string name)
Definition Uri.cs:1266