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

175 lines
7.3 KiB
C#

using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Xml.Linq
{
/// <summary>Represents a name of an XML element or attribute.</summary>
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[KnownType(typeof(NameSerializer))]
[Serializable]
public sealed class XName : IEquatable<XName>, ISerializable
{
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000001")]
[Address(RVA = "0x11CBD40", Offset = "0x11CAD40", VA = "0x1811CBD40")]
internal XName(XNamespace ns, string localName)
{
}
/// <summary>Gets the local (unqualified) part of the name.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the local (unqualified) part of the name.</returns>
// Token: 0x17000001 RID: 1
// (get) Token: 0x06000002 RID: 2 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000001")]
public string LocalName
{
[Token(Token = "0x6000002")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// <summary>Gets the namespace part of the fully qualified name.</summary>
/// <returns>An <see cref="T:System.Xml.Linq.XNamespace" /> that contains the namespace part of the name.</returns>
// Token: 0x17000002 RID: 2
// (get) Token: 0x06000003 RID: 3 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000002")]
public XNamespace Namespace
{
[Token(Token = "0x6000003")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Returns the URI of the <see cref="T:System.Xml.Linq.XNamespace" /> for this <see cref="T:System.Xml.Linq.XName" />.</summary>
/// <returns>The URI of the <see cref="T:System.Xml.Linq.XNamespace" /> for this <see cref="T:System.Xml.Linq.XName" />.</returns>
// Token: 0x17000003 RID: 3
// (get) Token: 0x06000004 RID: 4 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000003")]
public string NamespaceName
{
[Token(Token = "0x6000004")]
[Address(RVA = "0x4831B0", Offset = "0x4821B0", VA = "0x1804831B0")]
get
{
return null;
}
}
/// <summary>Returns the expanded XML name in the format {namespace}localname.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the expanded XML name in the format {namespace}localname.</returns>
// Token: 0x06000005 RID: 5 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000005")]
[Address(RVA = "0x11CBCC0", Offset = "0x11CACC0", VA = "0x1811CBCC0", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Gets an <see cref="T:System.Xml.Linq.XName" /> object from an expanded name.</summary>
/// <param name="expandedName">A <see cref="T:System.String" /> that contains an expanded XML name in the format {namespace}localname.</param>
/// <returns>An <see cref="T:System.Xml.Linq.XName" /> object constructed from the expanded name.</returns>
// Token: 0x06000006 RID: 6 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000006")]
[Address(RVA = "0x11CB9C0", Offset = "0x11CA9C0", VA = "0x1811CB9C0")]
public static XName Get(string expandedName)
{
return null;
}
/// <summary>Converts a string formatted as an expanded XML name (that is,{namespace}localname) to an <see cref="T:System.Xml.Linq.XName" /> object.</summary>
/// <param name="expandedName">A string that contains an expanded XML name in the format {namespace}localname.</param>
/// <returns>An <see cref="T:System.Xml.Linq.XName" /> object constructed from the expanded name.</returns>
// Token: 0x06000007 RID: 7 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000007")]
[Address(RVA = "0x11CBE30", Offset = "0x11CAE30", VA = "0x1811CBE30")]
[CLSCompliant(false)]
public static implicit operator XName(string expandedName)
{
return null;
}
/// <summary>Determines whether the specified <see cref="T:System.Xml.Linq.XName" /> is equal to this <see cref="T:System.Xml.Linq.XName" />.</summary>
/// <param name="obj">The <see cref="T:System.Xml.Linq.XName" /> to compare to the current <see cref="T:System.Xml.Linq.XName" />.</param>
/// <returns>
/// <see langword="true" /> if the specified <see cref="T:System.Xml.Linq.XName" /> is equal to the current <see cref="T:System.Xml.Linq.XName" />; otherwise <see langword="false" />.</returns>
// Token: 0x06000008 RID: 8 RVA: 0x00002058 File Offset: 0x00000258
[Token(Token = "0x6000008")]
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Gets a hash code for this <see cref="T:System.Xml.Linq.XName" />.</summary>
/// <returns>An <see cref="T:System.Int32" /> that contains the hash code for the <see cref="T:System.Xml.Linq.XName" />.</returns>
// Token: 0x06000009 RID: 9 RVA: 0x00002070 File Offset: 0x00000270
[Token(Token = "0x6000009")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns a value indicating whether two instances of <see cref="T:System.Xml.Linq.XName" /> are equal.</summary>
/// <param name="left">The first <see cref="T:System.Xml.Linq.XName" /> to compare.</param>
/// <param name="right">The second <see cref="T:System.Xml.Linq.XName" /> to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise <see langword="false" />.</returns>
// Token: 0x0600000A RID: 10 RVA: 0x00002088 File Offset: 0x00000288
[Token(Token = "0x600000A")]
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60")]
public static bool operator ==(XName left, XName right)
{
return default(bool);
}
// Token: 0x0600000B RID: 11 RVA: 0x000020A0 File Offset: 0x000002A0
[Token(Token = "0x600000B")]
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60", Slot = "4")]
bool IEquatable<XName>.Equals(XName other)
{
return default(bool);
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data required to serialize the target object.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="context">The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext" />) for this serialization.</param>
// Token: 0x0600000C RID: 12 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600000C")]
[Address(RVA = "0x11CBBF0", Offset = "0x11CABF0", VA = "0x1811CBBF0", Slot = "5")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600000D RID: 13 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600000D")]
[Address(RVA = "0x11CBE00", Offset = "0x11CAE00", VA = "0x1811CBE00")]
internal XName()
{
}
// Token: 0x04000001 RID: 1
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000001")]
private XNamespace ns;
// Token: 0x04000002 RID: 2
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000002")]
private string localName;
// Token: 0x04000003 RID: 3
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000003")]
private int hashCode;
}
}