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
XHashtable.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Xml.Linq
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200000D")]
9 internal sealed class XHashtable<TValue>
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6000073")]
12 [global::Cpp2ILInjected.Address(RVA = "0x18E5614", Offset = "0x18E5614", Length = "0x74")]
13 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = "Get", MemberParameters = new object[]
17 {
18 typeof(string),
19 typeof(int),
20 typeof(int)
21 }, ReturnType = typeof(XNamespace))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
29
30 [global::Cpp2ILInjected.Token(Token = "0x6000074")]
31 [global::Cpp2ILInjected.Address(RVA = "0x18E5688", Offset = "0x18E5688", Length = "0x18")]
32 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = "GetName", MemberParameters = new object[]
34 {
35 typeof(string),
36 typeof(int),
37 typeof(int)
38 }, ReturnType = typeof(XName))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = "Get", MemberParameters = new object[]
40 {
41 typeof(string),
42 typeof(int),
43 typeof(int)
44 }, ReturnType = typeof(XNamespace))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
47 public bool TryGetValue(string key, int index, int count, out TValue value)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6000075")]
53 [global::Cpp2ILInjected.Address(RVA = "0x18E56A0", Offset = "0x18E56A0", Length = "0x154")]
54 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = "GetName", MemberParameters = new object[]
57 {
58 typeof(string),
59 typeof(int),
60 typeof(int)
61 }, ReturnType = typeof(XName))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNamespace), Member = "Get", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(int),
66 typeof(int)
67 }, ReturnType = typeof(XNamespace))]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
70 {
71 typeof(object),
72 typeof(ref bool)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "MemoryBarrier", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
77 public TValue Add(TValue value)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x400001C")]
83 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
85
86 [global::Cpp2ILInjected.Token(Token = "0x200000E")]
87 public delegate string ExtractKeyDelegate(TValue value);
88
89 [global::Cpp2ILInjected.Token(Token = "0x200000F")]
90 private sealed class XHashtableState
91 {
92 [global::Cpp2ILInjected.Token(Token = "0x6000078")]
93 [global::Cpp2ILInjected.Address(RVA = "0x18E4F68", Offset = "0x18E4F68", Length = "0xA0")]
94 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
95 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
102
103 [global::Cpp2ILInjected.Token(Token = "0x6000079")]
104 [global::Cpp2ILInjected.Address(RVA = "0x18E5008", Offset = "0x18E5008", Length = "0x1FC")]
105 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "CompareExchange", MemberParameters = new object[]
109 {
110 typeof(ref int),
111 typeof(int),
112 typeof(int)
113 }, ReturnType = typeof(int))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OverflowException), Member = ".ctor", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x600007A")]
122 [global::Cpp2ILInjected.Address(RVA = "0x18E5204", Offset = "0x18E5204", Length = "0xB4")]
123 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
124 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 public bool TryGetValue(string key, int index, int count, out TValue value)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x600007B")]
132 [global::Cpp2ILInjected.Address(RVA = "0x18E52B8", Offset = "0x18E52B8", Length = "0x168")]
133 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
134 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "Increment", MemberParameters = new object[] { typeof(ref int) }, ReturnType = typeof(int))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "MemoryBarrier", ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "CompareExchange", MemberParameters = new object[]
139 {
140 typeof(ref int),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(int))]
144 public bool TryAdd(TValue value, out TValue newValue)
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x600007C")]
150 [global::Cpp2ILInjected.Address(RVA = "0x18E5420", Offset = "0x18E5420", Length = "0x180")]
151 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
152 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CompareOrdinal", MemberParameters = new object[]
155 {
156 typeof(string),
157 typeof(int),
158 typeof(string),
159 typeof(int),
160 typeof(int)
161 }, ReturnType = typeof(int))]
162 private bool FindEntry(int hashCode, string key, int index, int count, ref int entryIndex)
163 {
164 throw null;
165 }
166
167 [global::Cpp2ILInjected.Token(Token = "0x600007D")]
168 [global::Cpp2ILInjected.Address(RVA = "0x18E55A0", Offset = "0x18E55A0", Length = "0x74")]
169 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
170 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
173 private static int ComputeHashCode(string key, int index, int count)
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x400001D")]
179 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
180 private int[] _buckets;
181
182 [global::Cpp2ILInjected.Token(Token = "0x400001E")]
183 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
185
186 [global::Cpp2ILInjected.Token(Token = "0x400001F")]
187 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
188 private int _numEntries;
189
190 [global::Cpp2ILInjected.Token(Token = "0x4000020")]
191 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
193
194 [global::Cpp2ILInjected.Token(Token = "0x2000010")]
195 private struct Entry
196 {
197 [global::Cpp2ILInjected.Token(Token = "0x4000021")]
198 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
199 public TValue Value;
200
201 [global::Cpp2ILInjected.Token(Token = "0x4000022")]
202 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
203 public int HashCode;
204
205 [global::Cpp2ILInjected.Token(Token = "0x4000023")]
206 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
207 public int Next;
208 }
209 }
210 }
211}
class f__AnonymousType0<< Count > j__TPar
XHashtableState(XHashtable< TValue >.ExtractKeyDelegate extractKey, int capacity)
Definition XHashtable.cs:98
bool TryGetValue(string key, int index, int count, out TValue value)
XHashtable< TValue >.XHashtableState Resize()
static int ComputeHashCode(string key, int index, int count)
bool TryAdd(TValue value, out TValue newValue)
bool FindEntry(int hashCode, string key, int index, int count, ref int entryIndex)
XHashtable< TValue >.XHashtableState.Entry[] _entries
XHashtable< TValue >.ExtractKeyDelegate _extractKey
bool TryGetValue(string key, int index, int count, out TValue value)
Definition XHashtable.cs:47
XHashtable(XHashtable< TValue >.ExtractKeyDelegate extractKey, int capacity)
Definition XHashtable.cs:25
delegate string ExtractKeyDelegate(TValue value)
XHashtable< TValue >.XHashtableState _state
Definition XHashtable.cs:84
TValue Add(TValue value)
Definition XHashtable.cs:77