Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / EmptyEnumerator.cs / 1 / EmptyEnumerator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- 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( Res.GetString( Res.Xml_InvalidOperation ) ); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- 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( Res.GetString( Res.Xml_InvalidOperation ) ); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Reference.cs
- Win32Interop.cs
- DesignerActionUIService.cs
- arabicshape.cs
- StringArrayConverter.cs
- LinkDescriptor.cs
- SymbolType.cs
- ModelUIElement3D.cs
- DataMisalignedException.cs
- XmlLinkedNode.cs
- SamlSubject.cs
- SemanticBasicElement.cs
- FixedSOMTableRow.cs
- ConnectionManagementElement.cs
- XmlAttributeCollection.cs
- XsltFunctions.cs
- PageTheme.cs
- SelectiveScrollingGrid.cs
- SizeChangedEventArgs.cs
- XmlValidatingReader.cs
- NotSupportedException.cs
- WebPartDisplayModeEventArgs.cs
- StringSorter.cs
- IntellisenseTextBox.cs
- OleDbSchemaGuid.cs
- ExternalException.cs
- HtmlInputHidden.cs
- XsdCachingReader.cs
- XmlIterators.cs
- Environment.cs
- SocketAddress.cs
- PolicyLevel.cs
- SqlIdentifier.cs
- AlphaSortedEnumConverter.cs
- DockPattern.cs
- ConsoleKeyInfo.cs
- AssertSection.cs
- CalendarSelectionChangedEventArgs.cs
- XPathNodeIterator.cs
- SafeThreadHandle.cs
- SqlAggregateChecker.cs
- EffectiveValueEntry.cs
- DSGeneratorProblem.cs
- PeerContact.cs
- EmptyEnumerator.cs
- IISMapPath.cs
- KeyFrames.cs
- System.Data.OracleClient_BID.cs
- _NativeSSPI.cs
- ToolStripStatusLabel.cs
- WebDisplayNameAttribute.cs
- TraceHandler.cs
- VerificationException.cs
- ModifiableIteratorCollection.cs
- IteratorFilter.cs
- BuildResult.cs
- PointHitTestParameters.cs
- TextContainer.cs
- Zone.cs
- SymDocumentType.cs
- Point3DCollectionConverter.cs
- SqlGenericUtil.cs
- Stroke.cs
- SeparatorAutomationPeer.cs
- RegisteredHiddenField.cs
- XmlWhitespace.cs
- RtfFormatStack.cs
- WindowsTooltip.cs
- RtfNavigator.cs
- PropertyDescriptorGridEntry.cs
- IsolatedStoragePermission.cs
- HtmlInputImage.cs
- FlowDecision.cs
- COM2ExtendedUITypeEditor.cs
- CallbackWrapper.cs
- NetworkAddressChange.cs
- isolationinterop.cs
- CollectionViewProxy.cs
- ResourcePool.cs
- PageAction.cs
- InlinedAggregationOperator.cs
- ErrorTableItemStyle.cs
- XmlTypeMapping.cs
- TransformedBitmap.cs
- OverflowException.cs
- PerfCounters.cs
- SoapExtensionReflector.cs
- X509CertificateCollection.cs
- _OSSOCK.cs
- ExtensibleClassFactory.cs
- RuntimeResourceSet.cs
- MarkupCompilePass1.cs
- InstanceDataCollectionCollection.cs
- TemplateBuilder.cs
- TimeSpanOrInfiniteConverter.cs
- CallbackTimeoutsElement.cs
- FontInfo.cs
- ConsoleKeyInfo.cs
- WebPartTransformerCollection.cs
- GrammarBuilderPhrase.cs