Files
Apr2020-Cpp2Il-Dump/System.Xml/XmlNameTable.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

55 lines
2.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Xml
{
/// <summary>Table of atomized string objects.</summary>
// Token: 0x0200007C RID: 124
[Token(Token = "0x200007C")]
public abstract class XmlNameTable
{
/// <summary>When overridden in a derived class, gets the atomized string containing the same value as the specified string.</summary>
/// <param name="array">The name to look up. </param>
/// <returns>The atomized string or <see langword="null" /> if the string has not already been atomized.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />. </exception>
// Token: 0x06000529 RID: 1321
[Token(Token = "0x6000529")]
[Address(Slot = "4")]
public abstract string Get(string array);
/// <summary>When overridden in a derived class, atomizes the specified string and adds it to the <see langword="XmlNameTable" />.</summary>
/// <param name="array">The character array containing the name to add. </param>
/// <param name="offset">Zero-based index into the array specifying the first character of the name. </param>
/// <param name="length">The number of characters in the name. </param>
/// <returns>The new atomized string or the existing one if it already exists. If length is zero, String.Empty is returned.</returns>
/// <exception cref="T:System.IndexOutOfRangeException">0 &gt; <paramref name="offset" />-or-
/// <paramref name="offset" /> &gt;= <paramref name="array" />.Length -or-
/// <paramref name="length" /> &gt; <paramref name="array" />.Length The above conditions do not cause an exception to be thrown if <paramref name="length" /> =0. </exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="length" /> &lt; 0. </exception>
// Token: 0x0600052A RID: 1322
[Token(Token = "0x600052A")]
[Address(Slot = "5")]
public abstract string Add(char[] array, int offset, int length);
/// <summary>When overridden in a derived class, atomizes the specified string and adds it to the <see langword="XmlNameTable" />.</summary>
/// <param name="array">The name to add. </param>
/// <returns>The new atomized string or the existing one if it already exists.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />. </exception>
// Token: 0x0600052B RID: 1323
[Token(Token = "0x600052B")]
[Address(Slot = "6")]
public abstract string Add(string array);
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlNameTable" /> class. </summary>
// Token: 0x0600052C RID: 1324 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052C")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected XmlNameTable()
{
}
}
}