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
EndpointPermission.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Net
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000243")]
10 public class EndpointPermission
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000E95")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1F48394", Offset = "0x1F48394", Length = "0x90")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "Intersect", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(EndpointPermission))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SocketPermission), Member = "AddPermission", MemberParameters = new object[]
17 {
20 typeof(string),
21 typeof(int)
22 }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x17000303")]
33 public string Hostname
34 {
35 [global::Cpp2ILInjected.Token(Token = "0x6000E96")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1F48424", Offset = "0x1F48424", Length = "0x8")]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 get
39 {
40 throw null;
41 }
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x17000304")]
45 public int Port
46 {
47 [global::Cpp2ILInjected.Token(Token = "0x6000E97")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1F4842C", Offset = "0x1F4842C", Length = "0x8")]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 get
51 {
52 throw null;
53 }
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x17000305")]
58 {
59 [global::Cpp2ILInjected.Token(Token = "0x6000E98")]
60 [global::Cpp2ILInjected.Address(RVA = "0x1F48434", Offset = "0x1F48434", Length = "0x8")]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 get
63 {
64 throw null;
65 }
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x6000E99")]
69 [global::Cpp2ILInjected.Address(RVA = "0x1F4843C", Offset = "0x1F4843C", Length = "0xBC")]
70 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Compare", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(string),
76 typeof(bool)
77 }, ReturnType = typeof(int))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
79 public override bool Equals(object obj)
80 {
81 throw null;
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x6000E9A")]
85 [global::Cpp2ILInjected.Address(RVA = "0x1F484F8", Offset = "0x1F484F8", Length = "0x20")]
86 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
88 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
89 public override int GetHashCode()
90 {
91 throw null;
92 }
93
94 [global::Cpp2ILInjected.Token(Token = "0x6000E9B")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1F48518", Offset = "0x1F48518", Length = "0x148")]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
100 public override string ToString()
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x6000E9C")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1F48660", Offset = "0x1F48660", Length = "0x154")]
107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SocketPermission), Member = "IsSubsetOf", MemberParameters = new object[]
109 {
112 }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "Resolve", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "IsSubsetOf", MemberParameters = new object[]
116 {
117 typeof(string),
118 typeof(string)
119 }, ReturnType = typeof(bool))]
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x6000E9D")]
126 [global::Cpp2ILInjected.Address(RVA = "0x1F489CC", Offset = "0x1F489CC", Length = "0xF0")]
127 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "IsSubsetOf", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(bool))]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string[]))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "ToNumber", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
133 private bool IsSubsetOf(string addr1, string addr2)
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x6000E9E")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1F48BC8", Offset = "0x1F48BC8", Length = "0x114")]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SocketPermission), Member = "Intersect", MemberParameters = new object[]
142 {
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "IntersectHostname", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(string))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = ".ctor", MemberParameters = new object[]
150 {
151 typeof(string),
152 typeof(int),
153 typeof(TransportType)
154 }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
157 {
158 throw null;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x6000E9F")]
162 [global::Cpp2ILInjected.Address(RVA = "0x1F48CDC", Offset = "0x1F48CDC", Length = "0x1A4")]
163 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "Intersect", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(EndpointPermission))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
167 {
168 typeof(string),
169 typeof(string)
170 }, ReturnType = typeof(bool))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "Resolve", ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "Intersect", MemberParameters = new object[]
173 {
174 typeof(string),
175 typeof(string)
176 }, ReturnType = typeof(string))]
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x6000EA0")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1F48E80", Offset = "0x1F48E80", Length = "0x2E4")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "IntersectHostname", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(string))]
186 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string[]))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "ToNumber", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
191 {
192 typeof(string),
193 typeof(string)
194 }, ReturnType = typeof(string))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
197 private string Intersect(string addr1, string addr2)
198 {
199 throw null;
200 }
201
202 [global::Cpp2ILInjected.Token(Token = "0x6000EA1")]
203 [global::Cpp2ILInjected.Address(RVA = "0x1F48ABC", Offset = "0x1F48ABC", Length = "0x10C")]
204 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "IsSubsetOf", MemberParameters = new object[]
206 {
207 typeof(string),
208 typeof(string)
209 }, ReturnType = typeof(bool))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "Intersect", MemberParameters = new object[]
211 {
212 typeof(string),
213 typeof(string)
214 }, ReturnType = typeof(string))]
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "Resolve", ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
218 {
219 typeof(string),
220 typeof(string)
221 }, ReturnType = typeof(bool))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
223 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
224 private int ToNumber(string value)
225 {
226 throw null;
227 }
228
229 [global::Cpp2ILInjected.Token(Token = "0x6000EA2")]
230 [global::Cpp2ILInjected.Address(RVA = "0x1F487B4", Offset = "0x1F487B4", Length = "0x218")]
231 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "IsSubsetOf", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(bool))]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndpointPermission), Member = "IntersectHostname", MemberParameters = new object[] { typeof(EndpointPermission) }, ReturnType = typeof(string))]
234 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string[]))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndpointPermission), Member = "ToNumber", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPAddress), Member = "Parse", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(IPAddress))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostAddresses", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(IPAddress[]))]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
240 internal void Resolve()
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x6000EA3")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1F49164", Offset = "0x1F49164", Length = "0x8")]
247 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
248 internal void UndoResolve()
249 {
250 throw null;
251 }
252
253 // Note: this type is marked as 'beforefieldinit'.
254 [global::Cpp2ILInjected.Token(Token = "0x6000EA4")]
255 [global::Cpp2ILInjected.Address(RVA = "0x1F4916C", Offset = "0x1F4916C", Length = "0x70")]
256 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
257 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
258 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
260 {
261 throw null;
262 }
263
264 [global::Cpp2ILInjected.Token(Token = "0x6000EA5")]
265 [global::Cpp2ILInjected.Address(RVA = "0x1F491DC", Offset = "0x1F491DC", Length = "0x38")]
266 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
269 {
270 throw null;
271 }
272
273 [global::Cpp2ILInjected.Token(Token = "0x4000BE2")]
274 private static char[] dot_char;
275
276 [global::Cpp2ILInjected.Token(Token = "0x4000BE3")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
278 private string hostname;
279
280 [global::Cpp2ILInjected.Token(Token = "0x4000BE4")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
282 private int port;
283
284 [global::Cpp2ILInjected.Token(Token = "0x4000BE5")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
287
288 [global::Cpp2ILInjected.Token(Token = "0x4000BE6")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
290 private bool resolved;
291
292 [global::Cpp2ILInjected.Token(Token = "0x4000BE7")]
293 [global::Cpp2ILInjected.FieldOffset(Offset = "0x21")]
294 private bool hasWildcard;
295
296 [global::Cpp2ILInjected.Token(Token = "0x4000BE8")]
297 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
299 }
300}
class f__AnonymousType0<< Count > j__TPar
override bool Equals(object obj)
string Intersect(string addr1, string addr2)
bool IsSubsetOf(EndpointPermission perm)
EndpointPermission(string hostname, int port, TransportType transport)
EndpointPermission Intersect(EndpointPermission perm)
bool IsSubsetOf(string addr1, string addr2)
string IntersectHostname(EndpointPermission perm)