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
IPv6AddressHelper.cs
Go to the documentation of this file.
1using System;
2using System.Net;
3using System.Text;
6
7namespace System
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200007B")]
10 internal static class IPv6AddressHelper
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60001D6")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1E9FE4C", Offset = "0x1E9FE4C", Length = "0xE0")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPv6AddressHelper), Member = "ParseCanonicalName", MemberParameters = new object[]
16 {
17 typeof(string),
18 typeof(int),
19 typeof(ref bool),
20 typeof(ref string)
21 }, ReturnType = typeof(string))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPAddressParser), Member = "AppendSections", MemberParameters = new object[]
23 {
24 typeof(ushort[]),
25 typeof(int),
26 typeof(int),
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueTuple<int, int>), Member = ".ctor", MemberParameters = new object[]
31 {
32 typeof(int),
33 typeof(int)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x60001D7")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1E9FF2C", Offset = "0x1E9FF2C", Length = "0x90")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPv6AddressHelper), Member = "ParseCanonicalName", MemberParameters = new object[]
45 {
46 typeof(string),
47 typeof(int),
48 typeof(ref bool),
49 typeof(ref string)
50 }, ReturnType = typeof(string))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPAddressParser), Member = "IPv6AddressToStringHelper", MemberParameters = new object[]
52 {
53 typeof(ushort[]),
54 typeof(uint)
55 }, ReturnType = typeof(StringBuilder))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60001D8")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1E9FFBC", Offset = "0x1E9FFBC", Length = "0x380")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPAddressParser), Member = "Ipv6StringToAddress", MemberParameters = new object[]
66 {
68 typeof(ushort*),
69 typeof(int),
70 typeof(ref uint)
71 }, ReturnType = typeof(bool))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Uri), Member = "IsHexDigit", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv4AddressHelper), Member = "IsValidCanonical", MemberParameters = new object[]
75 {
76 typeof(char*),
77 typeof(int),
78 typeof(ref int),
79 typeof(bool),
80 typeof(bool)
81 }, ReturnType = typeof(bool))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
83 internal unsafe static bool IsValidStrict(char* name, int start, ref int end)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x60001D9")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1EA033C", Offset = "0x1EA033C", Length = "0x43C")]
90 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPv6AddressHelper), Member = "ParseCanonicalName", MemberParameters = new object[]
92 {
93 typeof(string),
94 typeof(int),
95 typeof(ref bool),
96 typeof(ref string)
97 }, ReturnType = typeof(string))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPAddressParser), Member = "Ipv6StringToAddress", MemberParameters = new object[]
99 {
101 typeof(ushort*),
102 typeof(int),
103 typeof(ref uint)
104 }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Uri), Member = "FromHex", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(ReadOnlySpan<char>) }, ReturnType = typeof(string))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv4AddressHelper), Member = "ParseHostNumber", MemberParameters = new object[]
110 {
112 typeof(int),
113 typeof(int)
114 }, ReturnType = typeof(int))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
116 internal unsafe static void Parse(ReadOnlySpan<char> address, ushort* numbers, int start, ref string scopeId)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x60001DA")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1EA0778", Offset = "0x1EA0778", Length = "0x5D0")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Uri), Member = "CreateHostStringHelper", MemberParameters = new object[]
125 {
126 typeof(string),
127 typeof(ushort),
128 typeof(ushort),
130 typeof(ref string)
131 }, ReturnType = typeof(string))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv6AddressHelper), Member = "Parse", MemberParameters = new object[]
135 {
137 typeof(ushort*),
138 typeof(int),
139 typeof(ref string)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<ushort>), Member = "op_Implicit", MemberParameters = new object[] { typeof(Span<ushort>) }, ReturnType = "System.ReadOnlySpan`1<T>")]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv6AddressHelper), Member = "IsLoopback", MemberParameters = new object[] { typeof(ReadOnlySpan<ushort>) }, ReturnType = typeof(bool))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv6AddressHelper), Member = "FindCompressionRange", MemberParameters = new object[] { typeof(ReadOnlySpan<ushort>) }, ReturnType = typeof(ValueTuple<int, int>))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv6AddressHelper), Member = "ShouldHaveIpv4Embedded", MemberParameters = new object[] { typeof(ReadOnlySpan<ushort>) }, ReturnType = typeof(bool))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ushort), Member = "TryFormat", MemberParameters = new object[]
147 {
149 typeof(ref int),
152 }, ReturnType = typeof(bool))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryFormat", MemberParameters = new object[]
154 {
156 typeof(ref int),
159 }, ReturnType = typeof(bool))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = "System.ReadOnlySpan`1<T>")]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(ReadOnlySpan<char>) }, ReturnType = typeof(string))]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
163 internal unsafe static string ParseCanonicalName(string str, int start, ref bool isLoopback, ref string scopeId)
164 {
165 throw null;
166 }
167
168 [global::Cpp2ILInjected.Token(Token = "0x60001DB")]
169 [global::Cpp2ILInjected.Address(RVA = "0x1EA0D48", Offset = "0x1EA0D48", Length = "0x7C")]
170 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPv6AddressHelper), Member = "ParseCanonicalName", MemberParameters = new object[]
172 {
173 typeof(string),
174 typeof(int),
175 typeof(ref bool),
176 typeof(ref string)
177 }, ReturnType = typeof(string))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x60001DC")]
185 [global::Cpp2ILInjected.Address(RVA = "0x1EA0DC4", Offset = "0x1EA0DC4", Length = "0x2D0")]
186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IPv6AddressHelper), Member = "IsValid", MemberParameters = new object[]
188 {
189 typeof(char*),
190 typeof(int),
191 typeof(ref int)
192 }, ReturnType = typeof(bool))]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Uri), Member = "IsHexDigit", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv4AddressHelper), Member = "IsValidCanonical", MemberParameters = new object[]
196 {
197 typeof(char*),
198 typeof(int),
199 typeof(ref int),
200 typeof(bool),
201 typeof(bool)
202 }, ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
204 private unsafe static bool InternalIsValid(char* name, int start, ref int end, bool validateStrictAddress)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x60001DD")]
210 [global::Cpp2ILInjected.Address(RVA = "0x1EA1094", Offset = "0x1EA1094", Length = "0x8")]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Uri), Member = "CheckHostName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(UriHostNameType))]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Uri), Member = "CheckAuthorityHelper", MemberParameters = new object[]
213 {
214 typeof(char*),
215 typeof(ushort),
216 typeof(ushort),
220 typeof(ref string)
221 }, ReturnType = typeof(ushort))]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPv6AddressHelper), Member = "InternalIsValid", MemberParameters = new object[]
224 {
225 typeof(char*),
226 typeof(int),
227 typeof(ref int),
228 typeof(bool)
229 }, ReturnType = typeof(bool))]
230 internal unsafe static bool IsValid(char* name, int start, ref int end)
231 {
232 throw null;
233 }
234 }
235}
class f__AnonymousType0<< Count > j__TPar
static unsafe bool IsValidStrict(char *name, int start, ref int end)
static unsafe string ParseCanonicalName(string str, int start, ref bool isLoopback, ref string scopeId)
static unsafe bool InternalIsValid(char *name, int start, ref int end, bool validateStrictAddress)
static bool IsLoopback(ReadOnlySpan< ushort > numbers)
static unsafe bool IsValid(char *name, int start, ref int end)
static bool ShouldHaveIpv4Embedded(ReadOnlySpan< ushort > numbers)
static ValueTuple< int, int > FindCompressionRange(ReadOnlySpan< ushort > numbers)
static unsafe void Parse(ReadOnlySpan< char > address, ushort *numbers, int start, ref string scopeId)