Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataServiceSaveChangesEventArgs.cs
- SuppressMessageAttribute.cs
- BeginEvent.cs
- WindowsTab.cs
- StreamReader.cs
- DependencyObjectType.cs
- AsyncInvokeOperation.cs
- TraceSwitch.cs
- ExecutionEngineException.cs
- RenderDataDrawingContext.cs
- _BaseOverlappedAsyncResult.cs
- PaintEvent.cs
- CommentEmitter.cs
- DocumentViewerAutomationPeer.cs
- entitydatasourceentitysetnameconverter.cs
- UriSectionData.cs
- Collection.cs
- HelpKeywordAttribute.cs
- SqlInternalConnection.cs
- StrokeFIndices.cs
- ObjectCloneHelper.cs
- StrokeIntersection.cs
- PenLineCapValidation.cs
- PowerStatus.cs
- WebSysDescriptionAttribute.cs
- StandardTransformFactory.cs
- AuthorizationRuleCollection.cs
- ReferentialConstraint.cs
- DefaultPrintController.cs
- GZipStream.cs
- CurrentChangingEventArgs.cs
- SortedList.cs
- VerificationAttribute.cs
- HttpModuleCollection.cs
- ChannelTerminatedException.cs
- DESCryptoServiceProvider.cs
- BrushConverter.cs
- SettingsProperty.cs
- IntSecurity.cs
- ScriptRegistrationManager.cs
- PlatformNotSupportedException.cs
- ReadOnlyDataSource.cs
- Semaphore.cs
- OdbcRowUpdatingEvent.cs
- ImageMapEventArgs.cs
- TypeToStringValueConverter.cs
- HtmlInputCheckBox.cs
- ColorConverter.cs
- LineGeometry.cs
- RestHandlerFactory.cs
- BadImageFormatException.cs
- RemotingService.cs
- IfJoinedCondition.cs
- MouseEvent.cs
- TextFindEngine.cs
- SymLanguageType.cs
- TraceFilter.cs
- InputBuffer.cs
- IndexedString.cs
- ArithmeticException.cs
- PointHitTestResult.cs
- BaseTemplateCodeDomTreeGenerator.cs
- NavigationPropertyEmitter.cs
- XmlSchemaSimpleTypeUnion.cs
- ControlTemplate.cs
- WebBrowserProgressChangedEventHandler.cs
- WmlLiteralTextAdapter.cs
- AnimatedTypeHelpers.cs
- StylusButtonCollection.cs
- FrameworkContentElement.cs
- ScriptDescriptor.cs
- TextContainerHelper.cs
- DataRelationCollection.cs
- ScriptManager.cs
- BaseDataBoundControl.cs
- IdnMapping.cs
- CompModHelpers.cs
- LinkArea.cs
- SecurityContext.cs
- TargetException.cs
- MessageBox.cs
- CapabilitiesState.cs
- HtmlToClrEventProxy.cs
- WindowsHyperlink.cs
- SetterBaseCollection.cs
- DocumentGrid.cs
- XmlWrappingReader.cs
- TraceLevelStore.cs
- ParameterRefs.cs
- BCryptNative.cs
- BuilderInfo.cs
- DocumentViewerBaseAutomationPeer.cs
- ProgressBarHighlightConverter.cs
- SurrogateSelector.cs
- QilName.cs
- FileSystemInfo.cs
- DataPagerFieldItem.cs
- StrokeCollection.cs
- WrappedIUnknown.cs
- ServiceEndpointElement.cs