69 lines
2.8 KiB
C#
69 lines
2.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>When applied to a type, stores the name of a static method of the type that returns an XML schema and a <see cref="T:System.Xml.XmlQualifiedName" /> (or <see cref="T:System.Xml.Schema.XmlSchemaType" /> for anonymous types) that controls the serialization of the type.</summary>
|
|
// Token: 0x02000135 RID: 309
|
|
[Token(Token = "0x2000135")]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
|
|
public sealed class XmlSchemaProviderAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlSchemaProviderAttribute" /> class, taking the name of the static method that supplies the type's XML schema.</summary>
|
|
/// <param name="methodName">The name of the static method that must be implemented.</param>
|
|
// Token: 0x06000D60 RID: 3424 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D60")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public XmlSchemaProviderAttribute(string methodName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of the static method that supplies the type's XML schema and the name of its XML Schema data type.</summary>
|
|
/// <returns>The name of the method that is invoked by the XML infrastructure to return an XML schema.</returns>
|
|
// Token: 0x1700039E RID: 926
|
|
// (get) Token: 0x06000D61 RID: 3425 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700039E")]
|
|
public string MethodName
|
|
{
|
|
[Token(Token = "0x6000D61")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that determines whether the target class is a wildcard, or that the schema for the class has contains only an <see langword="xs:any" /> element.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" />, if the class is a wildcard, or if the schema contains only the <see langword="xs:any" /> element; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700039F RID: 927
|
|
// (get) Token: 0x06000D62 RID: 3426 RVA: 0x00006DF8 File Offset: 0x00004FF8
|
|
// (set) Token: 0x06000D63 RID: 3427 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700039F")]
|
|
public bool IsAny
|
|
{
|
|
[Token(Token = "0x6000D62")]
|
|
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x6000D63")]
|
|
[Address(RVA = "0x611070", Offset = "0x610070", VA = "0x180611070")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000707 RID: 1799
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000707")]
|
|
private string _methodName;
|
|
|
|
// Token: 0x04000708 RID: 1800
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000708")]
|
|
private bool _isAny;
|
|
}
|
|
}
|