using System;
using Cpp2IlInjected;
namespace System.Xml.Serialization
{
/// When applied to a type, stores the name of a static method of the type that returns an XML schema and a (or for anonymous types) that controls the serialization of the type.
// Token: 0x02000135 RID: 309
[Token(Token = "0x2000135")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
public sealed class XmlSchemaProviderAttribute : Attribute
{
/// Initializes a new instance of the class, taking the name of the static method that supplies the type's XML schema.
/// The name of the static method that must be implemented.
// Token: 0x06000D60 RID: 3424 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D60")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public XmlSchemaProviderAttribute(string methodName)
{
}
/// Gets the name of the static method that supplies the type's XML schema and the name of its XML Schema data type.
/// The name of the method that is invoked by the XML infrastructure to return an XML schema.
// 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;
}
}
/// 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 element.
///
/// , if the class is a wildcard, or if the schema contains only the element; otherwise, .
// 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;
}
}