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

◆ RegisterPrefix()

static bool System.Net.WebRequest.RegisterPrefix ( string prefix,
IWebRequestCreate creator )
inlinestatic

Definition at line 198 of file WebRequest.cs.

199 {
200 int num = 1;
201 if (prefix != null)
202 {
203 if (num == 0)
204 {
205 }
206 object internalSyncObject = WebRequest.InternalSyncObject;
207 if (num == 0)
208 {
209 }
210 ArrayList prefixList = WebRequest.PrefixList;
211 if (prefixList != null)
212 {
213 }
214 long num2 = 0L;
215 string text;
216 bool flag = text.Equals("/");
217 string text2;
218 int stringLength = text2._stringLength;
219 long num3 = 0L;
220 string text3 = text2.Substring((int)num3, (int)num2);
221 if (prefixList != null)
222 {
223 }
224 object[] items = prefixList._items;
225 int stringLength2 = text2._stringLength;
226 int num4;
227 if (num4 != 0)
228 {
230 long num5 = 0L;
232 if (num5 != 0L)
233 {
234 goto IL_008D;
235 }
236 }
237 throw new InvalidCastException();
238 }
239 IL_008D:
240 throw new OutOfMemoryException();
241 }
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
Definition Monitor.cs:47

References System.Threading.Monitor.Exit(), System.Net.WebRequest.InternalSyncObject, j__TPar, System.L, System.Net.WebRequest.PrefixList, and System.text.