134 lines
5.1 KiB
C#
134 lines
5.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Implements a single-threaded <see cref="T:System.Xml.XmlNameTable" />.</summary>
|
|
// Token: 0x02000059 RID: 89
|
|
[Token(Token = "0x2000059")]
|
|
public class NameTable : XmlNameTable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="NameTable" /> class.</summary>
|
|
// Token: 0x060003EE RID: 1006 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60003EE")]
|
|
[Address(RVA = "0x4C3990", Offset = "0x4C2790", VA = "0x1804C3990")]
|
|
public NameTable()
|
|
{
|
|
}
|
|
|
|
/// <summary>Atomizes the specified string and adds it to the <see langword="NameTable" />.</summary>
|
|
/// <param name="key">The string to add. </param>
|
|
/// <returns>The atomized string or the existing string if it already exists in the <see langword="NameTable" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="key" /> is <see langword="null" />. </exception>
|
|
// Token: 0x060003EF RID: 1007 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60003EF")]
|
|
[Address(RVA = "0x4C3310", Offset = "0x4C2110", VA = "0x1804C3310", Slot = "6")]
|
|
public override string Add(string key)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Atomizes the specified string and adds it to the <see langword="NameTable" />.</summary>
|
|
/// <param name="key">The character array containing the string to add. </param>
|
|
/// <param name="start">The zero-based index into the array specifying the first character of the string. </param>
|
|
/// <param name="len">The number of characters in the string. </param>
|
|
/// <returns>The atomized string or the existing string if one already exists in the <see langword="NameTable" />. If <paramref name="len" /> is zero, String.Empty is returned.</returns>
|
|
/// <exception cref="T:System.IndexOutOfRangeException">0 > <paramref name="start" />-or-
|
|
/// <paramref name="start" /> >= <paramref name="key" />.Length -or-
|
|
/// <paramref name="len" /> >= <paramref name="key" />.Length The above conditions do not cause an exception to be thrown if <paramref name="len" /> =0. </exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="len" /> < 0. </exception>
|
|
// Token: 0x060003F0 RID: 1008 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60003F0")]
|
|
[Address(RVA = "0x4C3490", Offset = "0x4C2290", VA = "0x1804C3490", Slot = "5")]
|
|
public override string Add(char[] key, int start, int len)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the atomized string with the specified value.</summary>
|
|
/// <param name="value">The name to find. </param>
|
|
/// <returns>The atomized string object or <see langword="null" /> if the string has not already been atomized.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="value" /> is <see langword="null" />. </exception>
|
|
// Token: 0x060003F1 RID: 1009 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60003F1")]
|
|
[Address(RVA = "0x4C3650", Offset = "0x4C2450", VA = "0x1804C3650", Slot = "4")]
|
|
public override string Get(string value)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060003F2 RID: 1010 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60003F2")]
|
|
[Address(RVA = "0x4C30D0", Offset = "0x4C1ED0", VA = "0x1804C30D0")]
|
|
private string AddEntry(string str, int hashCode)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060003F3 RID: 1011 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60003F3")]
|
|
[Address(RVA = "0x4C37C0", Offset = "0x4C25C0", VA = "0x1804C37C0")]
|
|
private void Grow()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060003F4 RID: 1012 RVA: 0x00003648 File Offset: 0x00001848
|
|
[Token(Token = "0x60003F4")]
|
|
[Address(RVA = "0x4C3900", Offset = "0x4C2700", VA = "0x1804C3900")]
|
|
private static bool TextEquals(string str1, char[] str2, int str2Start, int str2Length)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x040001A3 RID: 419
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40001A3")]
|
|
private NameTable.Entry[] entries;
|
|
|
|
// Token: 0x040001A4 RID: 420
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40001A4")]
|
|
private int count;
|
|
|
|
// Token: 0x040001A5 RID: 421
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x40001A5")]
|
|
private int mask;
|
|
|
|
// Token: 0x040001A6 RID: 422
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40001A6")]
|
|
private int hashCodeRandomizer;
|
|
|
|
// Token: 0x0200005A RID: 90
|
|
[Token(Token = "0x200005A")]
|
|
private class Entry
|
|
{
|
|
// Token: 0x060003F5 RID: 1013 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60003F5")]
|
|
[Address(RVA = "0x4C3060", Offset = "0x4C1E60", VA = "0x1804C3060")]
|
|
internal Entry(string str, int hashCode, NameTable.Entry next)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040001A7 RID: 423
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40001A7")]
|
|
internal string str;
|
|
|
|
// Token: 0x040001A8 RID: 424
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40001A8")]
|
|
internal int hashCode;
|
|
|
|
// Token: 0x040001A9 RID: 425
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40001A9")]
|
|
internal NameTable.Entry next;
|
|
}
|
|
}
|
|
}
|