Files
Aug2021-Cpp2IL-Dump/System.Xml/Schema/XmlSchemaParticle.cs
T
2026-04-10 22:50:51 +02:00

98 lines
2.8 KiB
C#

using System;
using System.Xml.Serialization;
using Cpp2IlInjected;
namespace System.Xml.Schema
{
/// <summary>Abstract class for that is the base class for all particle types (e.g. <see cref="T:System.Xml.Schema.XmlSchemaAny" />).</summary>
// Token: 0x0200011B RID: 283
[Token(Token = "0x200011B")]
public abstract class XmlSchemaParticle : XmlSchemaAnnotated
{
/// <summary>Gets or sets the minimum number of times the particle can occur.</summary>
/// <returns>The minimum number of times the particle can occur. The default is 1.</returns>
// Token: 0x1700030D RID: 781
// (set) Token: 0x0600088C RID: 2188 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700030D")]
[XmlIgnore]
public decimal MinOccurs
{
[Token(Token = "0x600088C")]
[Address(RVA = "0x5D1130", Offset = "0x5CFF30", VA = "0x1805D1130")]
set
{
}
}
/// <summary>Gets or sets the maximum number of times the particle can occur.</summary>
/// <returns>The maximum number of times the particle can occur. The default is 1.</returns>
// Token: 0x1700030E RID: 782
// (set) Token: 0x0600088D RID: 2189 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700030E")]
[XmlIgnore]
public decimal MaxOccurs
{
[Token(Token = "0x600088D")]
[Address(RVA = "0x5D0F80", Offset = "0x5CFD80", VA = "0x1805D0F80")]
set
{
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Schema.XmlSchemaParticle" /> class.</summary>
// Token: 0x0600088E RID: 2190 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600088E")]
[Address(RVA = "0x5D0F00", Offset = "0x5CFD00", VA = "0x1805D0F00")]
protected XmlSchemaParticle()
{
}
// Token: 0x04000437 RID: 1079
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000437")]
private decimal minOccurs;
// Token: 0x04000438 RID: 1080
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000438")]
private decimal maxOccurs;
// Token: 0x04000439 RID: 1081
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000439")]
private XmlSchemaParticle.Occurs flags;
// Token: 0x0400043A RID: 1082
[Token(Token = "0x400043A")]
internal static readonly XmlSchemaParticle Empty;
// Token: 0x0200011C RID: 284
[Token(Token = "0x200011C")]
[Flags]
private enum Occurs
{
// Token: 0x0400043C RID: 1084
[Token(Token = "0x400043C")]
None = 0,
// Token: 0x0400043D RID: 1085
[Token(Token = "0x400043D")]
Min = 1,
// Token: 0x0400043E RID: 1086
[Token(Token = "0x400043E")]
Max = 2
}
// Token: 0x0200011D RID: 285
[Token(Token = "0x200011D")]
private class EmptyParticle : XmlSchemaParticle
{
// Token: 0x06000890 RID: 2192 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000890")]
[Address(RVA = "0x5BEA10", Offset = "0x5BD810", VA = "0x1805BEA10")]
public EmptyParticle()
{
}
}
}
}