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
NameTable.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Xml
4{
5 // Token: 0x02000086 RID: 134
6 public class NameTable : XmlNameTable
7 {
8 // Token: 0x0600063B RID: 1595 RVA: 0x00014A1C File Offset: 0x00012C1C
15
16 // Token: 0x0600063C RID: 1596 RVA: 0x00014A48 File Offset: 0x00012C48
17 public override string Add(string key)
18 {
19 while (key == null || key._stringLength == 0)
20 {
21 }
22 int num = this.hashCodeRandomizer;
23 long num2 = 0L;
24 char c = key[(int)num2];
25 int stringLength = key._stringLength;
26 int num3 = this.mask;
28 return this.AddEntry(key, (int)num2);
29 }
30
31 // Token: 0x0600063D RID: 1597 RVA: 0x00014A90 File Offset: 0x00012C90
32 public override string Add(char[] key, int start, int len)
33 {
34 while (len == 0)
35 {
36 }
37 int num = this.hashCodeRandomizer;
38 int num2 = this.mask;
40 string text;
41 return this.AddEntry(text, 43159552);
42 }
43
44 // Token: 0x0600063E RID: 1598 RVA: 0x00014AC8 File Offset: 0x00012CC8
45 public override string Get(string value)
46 {
47 while (value == null || value._stringLength == 0)
48 {
49 }
50 int num = this.hashCodeRandomizer;
51 long num2 = 0L;
52 char c = value[(int)num2];
53 int stringLength = value._stringLength;
54 int num3 = this.mask;
56 if (num2 != 0L)
57 {
58 while (num2 != 0L)
59 {
60 }
61 return;
62 }
63 }
64
65 // Token: 0x0600063F RID: 1599 RVA: 0x00014B10 File Offset: 0x00012D10
66 private string AddEntry(string str, int hashCode)
67 {
68 int num = this.mask;
71 int num2 = this.count;
72 int num3 = this.hashCodeRandomizer;
74 }
75
76 // Token: 0x06000640 RID: 1600 RVA: 0x00014B48 File Offset: 0x00012D48
77 private void Grow()
78 {
79 int num = this.mask;
81 int num2 = 1;
82 int hashCode = array.hashCode;
83 int hashCode2 = array.hashCode;
85 }
86
87 // Token: 0x06000641 RID: 1601 RVA: 0x00014B84 File Offset: 0x00012D84
88 private static bool TextEquals(string str1, char[] str2, int str2Start, int str2Length)
89 {
90 }
91
92 // Token: 0x04000301 RID: 769
94
95 // Token: 0x04000302 RID: 770
96 private int count;
97
98 // Token: 0x04000303 RID: 771
99 private int mask;
100
101 // Token: 0x04000304 RID: 772
103
104 // Token: 0x02000087 RID: 135
105 private class Entry
106 {
107 // Token: 0x06000642 RID: 1602 RVA: 0x00014B98 File Offset: 0x00012D98
108 internal Entry(string str, int hashCode, NameTable.Entry next)
109 {
110 this.str = str;
112 this.next = next;
113 }
114
115 // Token: 0x04000305 RID: 773
116 internal string str;
117
118 // Token: 0x04000306 RID: 774
119 internal int hashCode;
120
121 // Token: 0x04000307 RID: 775
123 }
124 }
125}
class f__AnonymousType0<< Count > j__TPar
static int TickCount
Entry(string str, int hashCode, NameTable.Entry next)
Definition NameTable.cs:108
NameTable.Entry[] entries
Definition NameTable.cs:93
override string Add(string key)
Definition NameTable.cs:17
override string Add(char[] key, int start, int len)
Definition NameTable.cs:32
static bool TextEquals(string str1, char[] str2, int str2Start, int str2Length)
Definition NameTable.cs:88
override string Get(string value)
Definition NameTable.cs:45
string AddEntry(string str, int hashCode)
Definition NameTable.cs:66