The initial position of an enumerator is before the first element in the System.Security.Cryptography.AsnEncodedDataCollection object. An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator becomes invalid, and the next call to the AsnEncodedDataEnumerator.Reset method throws an InvalidOperationException.