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
NetRes.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x020001F4 RID: 500
7 internal class NetRes
8 {
9 // Token: 0x06000C57 RID: 3159 RVA: 0x0002788C File Offset: 0x00025A8C
10 private NetRes()
11 {
12 }
13
14 // Token: 0x06000C58 RID: 3160 RVA: 0x000278A0 File Offset: 0x00025AA0
15 public static string GetWebStatusString(string Res, WebExceptionStatus Status)
16 {
17 if (!true)
18 {
19 }
20 string text;
21 string @string = SR.GetString(text);
22 string string2 = SR.GetString(@string);
23 return string.Format(CultureInfo.CurrentCulture, string2, @string);
24 }
25
26 // Token: 0x06000C59 RID: 3161 RVA: 0x000278CC File Offset: 0x00025ACC
28 {
29 if (!true)
30 {
31 }
32 string text;
33 return SR.GetString(text);
34 }
35
36 // Token: 0x06000C5A RID: 3162 RVA: 0x000278E4 File Offset: 0x00025AE4
37 public static string GetWebStatusCodeString(HttpStatusCode statusCode, string statusDescription)
38 {
40 string text2;
41 string text = "(" + text2 + ")";
42 string text4;
43 string text3 = "net_httpstatuscode_" + text4;
44 string text5;
45 if (text5 != null)
46 {
47 int stringLength = text5._stringLength;
48 return text;
49 }
50 if (statusCode != (HttpStatusCode)0)
51 {
52 }
53 string text6;
54 return text6;
55 }
56
57 // Token: 0x06000C5B RID: 3163 RVA: 0x00027934 File Offset: 0x00025B34
58 public static string GetWebStatusCodeString(FtpStatusCode statusCode, string statusDescription)
59 {
61 string text2;
62 string text = "(" + text2 + ")";
63 string text4;
64 string text3 = "net_ftpstatuscode_" + text4;
65 string text5;
66 if (text5 != null)
67 {
68 int stringLength = text5._stringLength;
69 return text;
70 }
71 if (statusCode != FtpStatusCode.Undefined)
72 {
73 }
74 string text6;
75 return text6;
76 }
77 }
78}
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7
static CultureInfo CurrentCulture
static string GetWebStatusCodeString(FtpStatusCode statusCode, string statusDescription)
Definition NetRes.cs:58
static string GetWebStatusString(WebExceptionStatus Status)
Definition NetRes.cs:27
static string GetWebStatusCodeString(HttpStatusCode statusCode, string statusDescription)
Definition NetRes.cs:37
static string GetWebStatusString(string Res, WebExceptionStatus Status)
Definition NetRes.cs:15