Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / EmptyEnumerator.cs / 1305376 / 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
- AtomServiceDocumentSerializer.cs
- CombinedGeometry.cs
- XmlSerializer.cs
- GenericEnumerator.cs
- ShapingEngine.cs
- UxThemeWrapper.cs
- GraphicsContext.cs
- Preprocessor.cs
- ColorConverter.cs
- RowCache.cs
- ListDictionary.cs
- TreeNodeMouseHoverEvent.cs
- XmlIterators.cs
- GB18030Encoding.cs
- ElementHostAutomationPeer.cs
- glyphs.cs
- MappingMetadataHelper.cs
- ResourceLoader.cs
- MachineKeySection.cs
- OptimisticConcurrencyException.cs
- SignatureToken.cs
- SimpleHandlerBuildProvider.cs
- UnsafePeerToPeerMethods.cs
- XmlSchemaAttributeGroup.cs
- HwndSubclass.cs
- TreeWalker.cs
- Base64Stream.cs
- ActivityCodeGenerator.cs
- XmlnsDictionary.cs
- RunInstallerAttribute.cs
- XmlNamespaceDeclarationsAttribute.cs
- sqlinternaltransaction.cs
- DataGridViewCellFormattingEventArgs.cs
- TypeHelper.cs
- Converter.cs
- PageContentCollection.cs
- RealProxy.cs
- AtlasWeb.Designer.cs
- Calendar.cs
- UrlMapping.cs
- PaginationProgressEventArgs.cs
- GraphicsPathIterator.cs
- ClientBuildManagerCallback.cs
- FileDialogCustomPlace.cs
- XmlILAnnotation.cs
- HttpException.cs
- PointHitTestParameters.cs
- HistoryEventArgs.cs
- HttpStreamMessageEncoderFactory.cs
- ToolStripDropTargetManager.cs
- PrimitiveDataContract.cs
- XmlQueryOutput.cs
- HttpClientCertificate.cs
- RequestQueryParser.cs
- PersonalizationProvider.cs
- ColorEditor.cs
- SafeFileHandle.cs
- DetailsViewPagerRow.cs
- PersonalizationAdministration.cs
- UnsafeNativeMethods.cs
- nulltextcontainer.cs
- XmlHierarchicalDataSourceView.cs
- FamilyMapCollection.cs
- ObfuscateAssemblyAttribute.cs
- PropertyBuilder.cs
- Vector3DCollectionValueSerializer.cs
- GetImportedCardRequest.cs
- TimeZone.cs
- DisplayMemberTemplateSelector.cs
- PlanCompiler.cs
- ClientData.cs
- DataSourceControlBuilder.cs
- Cell.cs
- BamlRecordHelper.cs
- TaskbarItemInfo.cs
- UrlMappingsModule.cs
- GenericsNotImplementedException.cs
- MulticastDelegate.cs
- ControlPropertyNameConverter.cs
- RijndaelManaged.cs
- DeflateStream.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SecurityTokenParametersEnumerable.cs
- RedirectionProxy.cs
- ManualResetEvent.cs
- HtmlImageAdapter.cs
- DataGridViewSortCompareEventArgs.cs
- SmiConnection.cs
- FrugalList.cs
- TemplateBindingExtensionConverter.cs
- MethodAccessException.cs
- SecuritySessionFilter.cs
- BulletedList.cs
- FormClosedEvent.cs
- ImageButton.cs
- SerializationAttributes.cs
- SiteMapProvider.cs
- TreeView.cs
- CompiledIdentityConstraint.cs
- LabelLiteral.cs