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
HttpValidationHelpers.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Net
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000127")]
9 internal static class HttpValidationHelpers
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60006EA")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1EE12EC", Offset = "0x1EE12EC", Length = "0xD8")]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
14 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpValidationHelpers), Member = "IsInvalidMethodOrHeaderString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpValidationHelpers), Member = "ContainsNonAsciiChars", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[]
17 {
18 typeof(string),
19 typeof(string)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
22 internal static string CheckBadHeaderNameChars(string name)
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x60006EB")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1EE14BC", Offset = "0x1EE14BC", Length = "0x7C")]
29 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpValidationHelpers), Member = "CheckBadHeaderNameChars", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpValidationHelpers), Member = "IsValidToken", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
34 internal static bool ContainsNonAsciiChars(string token)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x60006EC")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1EE1538", Offset = "0x1EE1538", Length = "0x90")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpValidationHelpers), Member = "IsInvalidMethodOrHeaderString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpValidationHelpers), Member = "ContainsNonAsciiChars", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
46 internal static bool IsValidToken(string token)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x60006ED")]
52 [global::Cpp2ILInjected.Address(RVA = "0x1EE15C8", Offset = "0x1EE15C8", Length = "0x1D0")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpWebRequest), Member = "set_Connection", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpWebRequest), Member = "set_TransferEncoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Trim", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[]
61 {
62 typeof(string),
63 typeof(string)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
66 public static string CheckBadHeaderValueChars(string value)
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x60006EE")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1EE13C4", Offset = "0x1EE13C4", Length = "0xF8")]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpValidationHelpers), Member = "CheckBadHeaderNameChars", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpValidationHelpers), Member = "IsValidToken", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpWebRequest), Member = "set_Method", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
79 public static bool IsInvalidMethodOrHeaderString(string stringValue)
80 {
81 throw null;
82 }
83
84 // Note: this type is marked as 'beforefieldinit'.
85 [global::Cpp2ILInjected.Token(Token = "0x60006EF")]
86 [global::Cpp2ILInjected.Address(RVA = "0x1EE1798", Offset = "0x1EE1798", Length = "0x94")]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
89 {
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x4000566")]
100 private static readonly char[] s_httpTrimCharacters;
101 }
102}
class f__AnonymousType0<< Count > j__TPar
static string CheckBadHeaderNameChars(string name)
static readonly char[] s_httpTrimCharacters
static string CheckBadHeaderValueChars(string value)
static bool ContainsNonAsciiChars(string token)
static bool IsValidToken(string token)
static bool IsInvalidMethodOrHeaderString(string stringValue)