Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / ConfigXmlWhitespace.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // 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
- ParameterBinding.cs
- PropertyValueChangedEvent.cs
- Size3DValueSerializer.cs
- DataGrid.cs
- PropertyPathConverter.cs
- XmlDictionaryString.cs
- SuppressMessageAttribute.cs
- FixedPageAutomationPeer.cs
- PropagationProtocolsTracing.cs
- ListInitExpression.cs
- PersistenceIOParticipant.cs
- Content.cs
- listitem.cs
- TextTreeDeleteContentUndoUnit.cs
- OleDbError.cs
- JpegBitmapEncoder.cs
- cookieexception.cs
- PathStreamGeometryContext.cs
- DataViewManager.cs
- LineSegment.cs
- CompositionTarget.cs
- RefType.cs
- MappingModelBuildProvider.cs
- RegexRunner.cs
- ImageCollectionCodeDomSerializer.cs
- ApplicationSecurityInfo.cs
- XmlComment.cs
- ParseElement.cs
- WizardPanel.cs
- TextEditorCopyPaste.cs
- DataGridView.cs
- WebPartPersonalization.cs
- OperandQuery.cs
- SafeEventLogWriteHandle.cs
- TrustManagerMoreInformation.cs
- ColumnPropertiesGroup.cs
- MethodToken.cs
- MediaContext.cs
- HttpContextBase.cs
- ValueTypeFixupInfo.cs
- errorpatternmatcher.cs
- GlobalizationAssembly.cs
- XmlRootAttribute.cs
- IndexOutOfRangeException.cs
- invalidudtexception.cs
- CommonGetThemePartSize.cs
- ViewCellSlot.cs
- TrackingRecord.cs
- UnicastIPAddressInformationCollection.cs
- ReferentialConstraint.cs
- HiddenFieldPageStatePersister.cs
- ACL.cs
- TransformerConfigurationWizardBase.cs
- OleDbReferenceCollection.cs
- SizeLimitedCache.cs
- ConstraintCollection.cs
- AuthenticationModuleElementCollection.cs
- PeerPresenceInfo.cs
- Selector.cs
- EmptyElement.cs
- SoapAttributes.cs
- DebuggerService.cs
- MonthCalendar.cs
- webbrowsersite.cs
- DBCommand.cs
- InvalidWorkflowException.cs
- AstTree.cs
- DataTableExtensions.cs
- WebPartAddingEventArgs.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- GridEntryCollection.cs
- EntityDataSourceValidationException.cs
- ProfileWorkflowElement.cs
- COAUTHIDENTITY.cs
- StringAnimationUsingKeyFrames.cs
- DockAndAnchorLayout.cs
- ImageListUtils.cs
- DesignerTransaction.cs
- ObjectStateFormatter.cs
- OracleEncoding.cs
- DesignerActionItemCollection.cs
- LambdaCompiler.Address.cs
- PartialCachingAttribute.cs
- RecipientIdentity.cs
- SrgsElementFactoryCompiler.cs
- WebReferencesBuildProvider.cs
- EmbossBitmapEffect.cs
- EtwTrace.cs
- XPathPatternParser.cs
- CryptoKeySecurity.cs
- WebPartMenuStyle.cs
- WebHeaderCollection.cs
- HttpResponse.cs
- IdentityManager.cs
- FaultBookmark.cs
- PixelFormats.cs
- PersonalizationProvider.cs
- ProcessManager.cs
- ImageListImageEditor.cs
- ValueTypeFixupInfo.cs