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
IntPtr.cs
Go to the documentation of this file.
1using System;
6
7namespace System
8{
9 // Token: 0x0200017D RID: 381
10 [ComVisible(true)]
12 public readonly struct IntPtr : ISerializable, IEquatable<IntPtr>
13 {
14 // Token: 0x06000EEB RID: 3819 RVA: 0x00020014 File Offset: 0x0001E214
15 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
16 public IntPtr(int value)
17 {
18 }
19
20 // Token: 0x06000EEC RID: 3820 RVA: 0x00020024 File Offset: 0x0001E224
21 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
22 public IntPtr(long value)
23 {
25 }
26
27 // Token: 0x06000EED RID: 3821 RVA: 0x00020038 File Offset: 0x0001E238
28 [CLSCompliant(false)]
29 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
30 public unsafe IntPtr(void* value)
31 {
33 }
34
35 // Token: 0x06000EEE RID: 3822 RVA: 0x0002004C File Offset: 0x0001E24C
37 {
38 long num;
39 this.m_value = num;
40 }
41
42 // Token: 0x17000158 RID: 344
43 // (get) Token: 0x06000EEF RID: 3823 RVA: 0x00020060 File Offset: 0x0001E260
44 public static int Size
45 {
46 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
47 get
48 {
49 return 8;
50 }
51 }
52
53 // Token: 0x06000EF0 RID: 3824 RVA: 0x00020070 File Offset: 0x0001E270
55 {
56 while (info == null)
57 {
58 }
59 }
60
61 // Token: 0x06000EF1 RID: 3825 RVA: 0x00020080 File Offset: 0x0001E280
62 public override bool Equals(object obj)
63 {
64 if (obj != null)
65 {
66 return;
67 }
68 }
69
70 // Token: 0x06000EF2 RID: 3826 RVA: 0x0000207A File Offset: 0x0000027A
71 public override int GetHashCode()
72 {
73 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
74 }
75
76 // Token: 0x06000EF3 RID: 3827 RVA: 0x0000207A File Offset: 0x0000027A
77 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
78 public long ToInt64()
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82
83 // Token: 0x06000EF4 RID: 3828 RVA: 0x0000207A File Offset: 0x0000027A
84 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
85 [CLSCompliant(false)]
86 public unsafe void* ToPointer()
87 {
88 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
89 }
90
91 // Token: 0x06000EF5 RID: 3829 RVA: 0x00020094 File Offset: 0x0001E294
92 public override string ToString()
93 {
94 string text;
95 return text;
96 }
97
98 // Token: 0x06000EF6 RID: 3830 RVA: 0x000200A4 File Offset: 0x0001E2A4
99 public string ToString(string format)
100 {
101 string text;
102 return text;
103 }
104
105 // Token: 0x06000EF7 RID: 3831 RVA: 0x0000207A File Offset: 0x0000027A
106 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
107 public static bool operator ==(IntPtr value1, IntPtr value2)
108 {
109 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
110 }
111
112 // Token: 0x06000EF8 RID: 3832 RVA: 0x0000207A File Offset: 0x0000027A
113 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
114 public static bool operator !=(IntPtr value1, IntPtr value2)
115 {
116 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
117 }
118
119 // Token: 0x06000EF9 RID: 3833 RVA: 0x0000207A File Offset: 0x0000027A
120 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
121 public static explicit operator IntPtr(int value)
122 {
123 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
124 }
125
126 // Token: 0x06000EFA RID: 3834 RVA: 0x0000207A File Offset: 0x0000027A
127 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
128 public static explicit operator IntPtr(long value)
129 {
130 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
131 }
132
133 // Token: 0x06000EFB RID: 3835 RVA: 0x0000207A File Offset: 0x0000027A
134 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
135 [CLSCompliant(false)]
136 public unsafe static explicit operator IntPtr(void* value)
137 {
138 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
139 }
140
141 // Token: 0x06000EFC RID: 3836 RVA: 0x0000207A File Offset: 0x0000027A
142 public static explicit operator int(IntPtr value)
143 {
144 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
145 }
146
147 // Token: 0x06000EFD RID: 3837 RVA: 0x0000207A File Offset: 0x0000027A
148 public static explicit operator long(IntPtr value)
149 {
150 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
151 }
152
153 // Token: 0x06000EFE RID: 3838 RVA: 0x0000207A File Offset: 0x0000027A
154 [CLSCompliant(false)]
155 public unsafe static explicit operator void*(IntPtr value)
156 {
157 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
158 }
159
160 // Token: 0x06000EFF RID: 3839 RVA: 0x0000207A File Offset: 0x0000027A
161 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
162 public static IntPtr Add(IntPtr pointer, int offset)
163 {
164 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
165 }
166
167 // Token: 0x06000F00 RID: 3840 RVA: 0x0000207A File Offset: 0x0000027A
168 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
170 {
171 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
172 }
173
174 // Token: 0x06000F01 RID: 3841 RVA: 0x0000207A File Offset: 0x0000027A
175 [ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
177 {
178 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
179 }
180
181 // Token: 0x06000F02 RID: 3842 RVA: 0x0000207A File Offset: 0x0000027A
182 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
183 internal bool IsNull()
184 {
185 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
186 }
187
188 // Token: 0x06000F03 RID: 3843 RVA: 0x0000207A File Offset: 0x0000027A
190 {
191 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
192 }
193
194 // Token: 0x0400067A RID: 1658
195 private unsafe readonly void* m_value;
196
197 // Token: 0x0400067B RID: 1659
198 public static readonly IntPtr Zero;
199 }
200}
class f__AnonymousType0<< Count > j__TPar
static readonly long
bool Equals(T other)
void GetObjectData(SerializationInfo info, StreamingContext context)
static int Size
Definition IntPtr.cs:45
static IntPtr Add(IntPtr pointer, int offset)
Definition IntPtr.cs:162
override int GetHashCode()
Definition IntPtr.cs:71
unsafe readonly void * m_value
Definition IntPtr.cs:195
IntPtr(SerializationInfo info, StreamingContext context)
Definition IntPtr.cs:36
static IntPtr operator+(IntPtr pointer, int offset)
Definition IntPtr.cs:169
static bool operator!=(IntPtr value1, IntPtr value2)
Definition IntPtr.cs:114
static readonly IntPtr Zero
Definition IntPtr.cs:198
override bool Equals(object obj)
Definition IntPtr.cs:62
IntPtr(int value)
Definition IntPtr.cs:16
string ToString(string format)
Definition IntPtr.cs:99
long ToInt64()
Definition IntPtr.cs:78
static bool operator==(IntPtr value1, IntPtr value2)
Definition IntPtr.cs:107
bool IsNull()
Definition IntPtr.cs:183
unsafe IntPtr(void *value)
Definition IntPtr.cs:30
override string ToString()
Definition IntPtr.cs:92
static IntPtr operator-(IntPtr pointer, int offset)
Definition IntPtr.cs:176
IntPtr(long value)
Definition IntPtr.cs:22
unsafe void * ToPointer()
Definition IntPtr.cs:86