1 //------------------------------------------------------------------------------
2 // <copyright file="EmptyEnumerator.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
9 using System.Collections;
11 namespace System.Xml {
13 internal sealed class EmptyEnumerator : IEnumerator {
15 bool IEnumerator.MoveNext() {
19 void IEnumerator.Reset() {
22 object IEnumerator.Current {
24 throw new InvalidOperationException( Res.GetString( Res.Xml_InvalidOperation ) );