Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1305376 / ConfigXmlComment.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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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
- ChannelDispatcherCollection.cs
- DesignerTransactionCloseEvent.cs
- ActivationArguments.cs
- LicenseContext.cs
- ToggleButtonAutomationPeer.cs
- DataControlLinkButton.cs
- DBBindings.cs
- HttpCacheParams.cs
- ScalarConstant.cs
- SafeArrayRankMismatchException.cs
- InputGestureCollection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ValidationRuleCollection.cs
- SoapCommonClasses.cs
- SessionStateSection.cs
- ToolStripComboBox.cs
- FontSource.cs
- BoundingRectTracker.cs
- EDesignUtil.cs
- Line.cs
- ApplicationBuildProvider.cs
- DataGridViewRowPrePaintEventArgs.cs
- TypeUtil.cs
- FixedDSBuilder.cs
- FormViewRow.cs
- designeractionbehavior.cs
- GeneralTransform3D.cs
- SiteMapSection.cs
- DataGridViewCellConverter.cs
- BinaryConverter.cs
- InstanceStoreQueryResult.cs
- MexHttpsBindingElement.cs
- Camera.cs
- InputLangChangeRequestEvent.cs
- ImportedNamespaceContextItem.cs
- CalendarTable.cs
- XmlCDATASection.cs
- FloatUtil.cs
- DataControlPagerLinkButton.cs
- InternalBufferManager.cs
- DBNull.cs
- BatchWriter.cs
- Properties.cs
- Message.cs
- FormViewPagerRow.cs
- ActivitySurrogate.cs
- DisplayInformation.cs
- TableRow.cs
- ClrPerspective.cs
- ListenerAdapterBase.cs
- PropagatorResult.cs
- TerminateDesigner.cs
- KnownBoxes.cs
- KeyToListMap.cs
- WrappedDispatcherException.cs
- _FtpDataStream.cs
- HostingEnvironment.cs
- NullRuntimeConfig.cs
- SignedXmlDebugLog.cs
- LicenseProviderAttribute.cs
- HttpRequest.cs
- DataContractSet.cs
- BackStopAuthenticationModule.cs
- PageAdapter.cs
- dataobject.cs
- CookielessHelper.cs
- InstanceCreationEditor.cs
- MenuBase.cs
- HitTestFilterBehavior.cs
- CompilerInfo.cs
- TreeNodeCollection.cs
- AuthenticationSection.cs
- StringAttributeCollection.cs
- QuotedStringWriteStateInfo.cs
- XmlWellformedWriter.cs
- TitleStyle.cs
- BinaryMessageFormatter.cs
- FontResourceCache.cs
- TextBlock.cs
- SqlNodeAnnotations.cs
- LabelLiteral.cs
- StylusPointProperty.cs
- UniqueConstraint.cs
- PrintController.cs
- DocumentApplicationJournalEntry.cs
- ProfileSection.cs
- PeerName.cs
- BindingMAnagerBase.cs
- HostProtectionException.cs
- NamespaceDecl.cs
- DecoderNLS.cs
- CommandField.cs
- XmlAttributeCollection.cs
- RowParagraph.cs
- DynamicValidatorEventArgs.cs
- SplineQuaternionKeyFrame.cs
- WindowsRegion.cs
- ToolTipService.cs
- ApplicationSecurityInfo.cs
- ResXResourceWriter.cs