terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ValidationHelper.cs
Go to the documentation of this file.
1using System;
7
8namespace System.Net
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20001A3")]
11 internal static class ValidationHelper
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000A8A")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1F0EF34", Offset = "0x1F0EF34", Length = "0x14")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Authorization), Member = "set_ProtectionRealm", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
18 public static string[] MakeEmptyArrayNull(string[] stringArray)
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x6000A8B")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1F0EF48", Offset = "0x1F0EF48", Length = "0x14")]
25 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Authorization), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Authorization), Member = ".ctor", MemberParameters = new object[]
28 {
29 typeof(string),
30 typeof(bool)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Authorization), Member = ".ctor", MemberParameters = new object[]
33 {
34 typeof(string),
35 typeof(bool),
36 typeof(string),
37 typeof(bool)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
40 public static string MakeStringNull(string stringValue)
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x6000A8C")]
46 [global::Cpp2ILInjected.Address(RVA = "0x1F0EF5C", Offset = "0x1F0EF5C", Length = "0xF4")]
47 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValidationHelper), Member = "ExceptionMessage", MemberParameters = new object[] { typeof(Exception) }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValidationHelper), Member = "ToString", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValidationHelper), Member = "ExceptionMessage", MemberParameters = new object[] { typeof(Exception) }, ReturnType = typeof(string))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
53 {
54 typeof(string),
55 typeof(string),
56 typeof(string),
57 typeof(string)
58 }, ReturnType = typeof(string))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
60 public static string ExceptionMessage(Exception exception)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6000A8D")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1F0B618", Offset = "0x1F0B618", Length = "0x1C4")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CredentialHostKey), Member = "ToString", ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CredentialKey), Member = "ToString", ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "ToString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(string)
76 }, ReturnType = typeof(string))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValidationHelper), Member = "ExceptionMessage", MemberParameters = new object[] { typeof(Exception) }, ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
79 public static string ToString(object objectValue)
80 {
81 throw null;
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x6000A8E")]
85 [global::Cpp2ILInjected.Address(RVA = "0x1F0F050", Offset = "0x1F0F050", Length = "0xBC")]
86 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NumberFormatInfo), Member = "get_InvariantInfo", ReturnType = typeof(NumberFormatInfo))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", MemberParameters = new object[] { typeof(IFormatProvider) }, ReturnType = typeof(string))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
91 public static string HashString(object objectValue)
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6000A8F")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1F0F10C", Offset = "0x1F0F10C", Length = "0x70")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOfAny", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(int))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
102 public static bool IsInvalidHttpString(string stringValue)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6000A90")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1F0F17C", Offset = "0x1F0F17C", Length = "0x1C")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cookie), Member = "set_Name", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cookie), Member = "InternalSetName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CookieContainer), Member = "CookieCutter", MemberParameters = new object[]
113 {
114 typeof(Uri),
115 typeof(string),
116 typeof(string),
117 typeof(bool)
118 }, ReturnType = typeof(CookieCollection))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileWebRequest), Member = "set_Method", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
121 public static bool IsBlankString(string stringValue)
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6000A91")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1F0F198", Offset = "0x1F0F198", Length = "0xC")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TcpClient), Member = "Connect", MemberParameters = new object[]
130 {
131 typeof(string),
132 typeof(int)
133 }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TcpClient), Member = "Connect", MemberParameters = new object[]
135 {
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TcpListener), Member = ".ctor", MemberParameters = new object[]
140 {
142 typeof(int)
143 }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TcpListener), Member = "Create", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(TcpListener))]
145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UdpClient), Member = ".ctor", MemberParameters = new object[]
146 {
147 typeof(int),
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
151 public static bool ValidateTcpPort(int port)
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x6000A92")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1F0F1A4", Offset = "0x1F0F1A4", Length = "0x18")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 public static bool ValidateRange(int actual, int fromAllowed, int toAllowed)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x6000A93")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1F0F1BC", Offset = "0x1F0F1BC", Length = "0xF0")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
173 {
174 throw null;
175 }
176
177 // Note: this type is marked as 'beforefieldinit'.
178 [global::Cpp2ILInjected.Token(Token = "0x6000A94")]
179 [global::Cpp2ILInjected.Address(RVA = "0x1F0F2AC", Offset = "0x1F0F2AC", Length = "0x104")]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
182 {
183 typeof(Array),
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x4000863")]
193 public static string[] EmptyArray;
194
195 [global::Cpp2ILInjected.Token(Token = "0x4000864")]
196 internal static readonly char[] InvalidMethodChars;
197
198 [global::Cpp2ILInjected.Token(Token = "0x4000865")]
199 internal static readonly char[] InvalidParamChars;
200 }
201}
class f__AnonymousType0<< Count > j__TPar
static readonly char[] InvalidParamChars
static bool ValidateRange(int actual, int fromAllowed, int toAllowed)
static string[] MakeEmptyArrayNull(string[] stringArray)
static string MakeStringNull(string stringValue)
static bool ValidateTcpPort(int port)
static bool IsBlankString(string stringValue)
static bool IsInvalidHttpString(string stringValue)
static string HashString(object objectValue)
static readonly char[] InvalidMethodChars
static string ExceptionMessage(Exception exception)
static string ToString(object objectValue)
static void ValidateSegment(ArraySegment< byte > segment)