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
Latin1Encoding.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Text
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000276")]
10 [global::System.Serializable]
11 internal class Latin1Encoding : EncodingNLS, global::System.Runtime.Serialization.ISerializable
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6001539")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1AD351C", Offset = "0x1AD351C", Length = "0xC")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "get_Latin1", ReturnType = typeof(Encoding))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x600153A")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1AD3528", Offset = "0x1AD3528", Length = "0x4C")]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "DeserializeEncoding", MemberParameters = new object[]
28 {
29 typeof(global::System.Runtime.Serialization.SerializationInfo),
30 typeof(global::System.Runtime.Serialization.StreamingContext)
31 }, ReturnType = typeof(void))]
32 internal Latin1Encoding(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x600153B")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1AD3574", Offset = "0x1AD3574", Length = "0xF0")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "SerializeEncoding", MemberParameters = new object[]
42 {
43 typeof(global::System.Runtime.Serialization.SerializationInfo),
44 typeof(global::System.Runtime.Serialization.StreamingContext)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
47 {
48 typeof(string),
49 typeof(int)
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
52 {
53 typeof(string),
54 typeof(object)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
57 private void System.Runtime.Serialization.ISerializable.GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x600153C")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1AD3664", Offset = "0x1AD3664", Length = "0x1E4")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
68 {
69 typeof(char*),
70 typeof(char*),
72 typeof(bool)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
76 internal unsafe override int GetByteCount(char* chars, int charCount, EncoderNLS encoder)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x600153D")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1AD3848", Offset = "0x1AD3848", Length = "0x338")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
87 {
88 typeof(EncoderNLS),
89 typeof(bool)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
93 {
94 typeof(char*),
95 typeof(char*),
96 typeof(EncoderNLS),
97 typeof(bool)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalReset", ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
102 internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x600153E")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1AD3B80", Offset = "0x1AD3B80", Length = "0x8")]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
110 internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS decoder)
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x600153F")]
116 [global::Cpp2ILInjected.Address(RVA = "0x1AD3B88", Offset = "0x1AD3B88", Length = "0x74")]
117 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
120 {
122 typeof(bool)
123 }, ReturnType = typeof(void))]
124 internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS decoder)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x6001540")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1AD3BFC", Offset = "0x1AD3BFC", Length = "0xF4")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
134 {
135 typeof(string),
136 typeof(string)
137 }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
139 public override int GetMaxByteCount(int charCount)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x6001541")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1AD3CF0", Offset = "0x1AD3CF0", Length = "0xF0")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
149 {
150 typeof(string),
151 typeof(string)
152 }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
154 public override int GetMaxCharCount(int byteCount)
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6001542")]
160 [global::Cpp2ILInjected.Address(RVA = "0x1AD3DE0", Offset = "0x1AD3DE0", Length = "0x58")]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
163 internal override char[] GetBestFitUnicodeToBytesData()
164 {
165 throw null;
166 }
167
168 // Note: this type is marked as 'beforefieldinit'.
169 [global::Cpp2ILInjected.Token(Token = "0x6001543")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1AD3E38", Offset = "0x1AD3E38", Length = "0xB8")]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
174 {
175 typeof(global::System.Array),
176 typeof(global::System.RuntimeFieldHandle)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x4000B1D")]
186
187 [global::Cpp2ILInjected.Token(Token = "0x4000B1E")]
188 private static readonly char[] arrayCharBestFit;
189 }
190}
class f__AnonymousType0<< Count > j__TPar
static readonly Latin1Encoding s_default
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS decoder)
override int GetMaxCharCount(int byteCount)
override int GetMaxByteCount(int charCount)
unsafe override int GetByteCount(char *chars, int charCount, EncoderNLS encoder)
Latin1Encoding(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
override char[] GetBestFitUnicodeToBytesData()
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS encoder)
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS decoder)
static readonly char[] arrayCharBestFit
void GetObjectData(SerializationInfo info, StreamingContext context)