Files
27Aug2021-Cpp2IL-Dump/System.Xml/System/Xml/XmlNameTable.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

55 lines
2.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Xml
{
/// <summary>Table of atomized string objects.</summary>
// Token: 0x020000F3 RID: 243
[Token(Token = "0x20000F3")]
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: 0x06000BF8 RID: 3064
[Token(Token = "0x6000BF8")]
[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: 0x06000BF9 RID: 3065
[Token(Token = "0x6000BF9")]
[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: 0x06000BFA RID: 3066
[Token(Token = "0x6000BFA")]
[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: 0x06000BFB RID: 3067 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BFB")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected XmlNameTable()
{
}
}
}