using System; using System.Collections; using System.Runtime.InteropServices; namespace System.Runtime.Serialization { /// Provides a formatter-friendly mechanism for parsing the data in . This class cannot be inherited. // Token: 0x02000495 RID: 1173 [ComVisible(true)] public sealed class SerializationInfoEnumerator : IEnumerator { // Token: 0x06002C7B RID: 11387 RVA: 0x00092724 File Offset: 0x00090924 internal SerializationInfoEnumerator(ArrayList list) { this.enumerator = list.GetEnumerator(); } /// Gets the current item in the collection. /// A that contains the current serialization data. /// The enumeration has not started or has already ended. // Token: 0x170008AA RID: 2218 // (get) Token: 0x06002C7C RID: 11388 RVA: 0x00092738 File Offset: 0x00090938 object IEnumerator.Current { get { return this.enumerator.Current; } } /// Gets the item currently being examined. /// The item currently being examined. /// The enumerator has not started enumerating items or has reached the end of the enumeration. // Token: 0x170008AB RID: 2219 // (get) Token: 0x06002C7D RID: 11389 RVA: 0x00092748 File Offset: 0x00090948 public SerializationEntry Current { get { return (SerializationEntry)this.enumerator.Current; } } /// Gets the name for the item currently being examined. /// The item name. /// The enumerator has not started enumerating items or has reached the end of the enumeration. // Token: 0x170008AC RID: 2220 // (get) Token: 0x06002C7E RID: 11390 RVA: 0x0009275C File Offset: 0x0009095C public string Name { get { SerializationEntry serializationEntry = this.Current; return serializationEntry.Name; } } /// Gets the type of the item currently being examined. /// The type of the item currently being examined. /// The enumerator has not started enumerating items or has reached the end of the enumeration. // Token: 0x170008AD RID: 2221 // (get) Token: 0x06002C7F RID: 11391 RVA: 0x00092778 File Offset: 0x00090978 public Type ObjectType { get { SerializationEntry serializationEntry = this.Current; return serializationEntry.ObjectType; } } /// Gets the value of the item currently being examined. /// The value of the item currently being examined. /// The enumerator has not started enumerating items or has reached the end of the enumeration. // Token: 0x170008AE RID: 2222 // (get) Token: 0x06002C80 RID: 11392 RVA: 0x00092794 File Offset: 0x00090994 public object Value { get { SerializationEntry serializationEntry = this.Current; return serializationEntry.Value; } } /// Updates the enumerator to the next item. /// true if a new element is found; otherwise, false. // Token: 0x06002C81 RID: 11393 RVA: 0x000927B0 File Offset: 0x000909B0 public bool MoveNext() { return this.enumerator.MoveNext(); } /// Resets the enumerator to the first item. // Token: 0x06002C82 RID: 11394 RVA: 0x000927C0 File Offset: 0x000909C0 public void Reset() { this.enumerator.Reset(); } // Token: 0x04001136 RID: 4406 private IEnumerator enumerator; } }