File: System\Xml\EmptyEnumerator.cs | Web Access |
Project: src\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj (System.Private.Xml) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; namespace System.Xml { internal sealed class EmptyEnumerator : IEnumerator { bool IEnumerator.MoveNext() { return false; } void IEnumerator.Reset() { } object IEnumerator.Current { get { throw new InvalidOperationException(SR.Xml_InvalidOperation); } } } } |