Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlComment.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
- OperatingSystem.cs
- AssociatedControlConverter.cs
- SerialPort.cs
- SqlCommandBuilder.cs
- HealthMonitoringSection.cs
- HelpKeywordAttribute.cs
- X509Utils.cs
- XslNumber.cs
- SafeNativeMethods.cs
- HttpCacheVary.cs
- DataGridTable.cs
- SequentialUshortCollection.cs
- Decorator.cs
- ImpersonateTokenRef.cs
- objectquery_tresulttype.cs
- AuthenticationException.cs
- TextComposition.cs
- ListMarkerSourceInfo.cs
- BitConverter.cs
- DtdParser.cs
- _SpnDictionary.cs
- _BufferOffsetSize.cs
- TreeNodeClickEventArgs.cs
- RemotingException.cs
- BaseParagraph.cs
- COAUTHIDENTITY.cs
- OutputScope.cs
- DbDataSourceEnumerator.cs
- LocalizedNameDescriptionPair.cs
- DispatchWrapper.cs
- DrawToolTipEventArgs.cs
- ResourceReader.cs
- XmlSchemaComplexContentExtension.cs
- RegistrySecurity.cs
- WindowsContainer.cs
- StateChangeEvent.cs
- Delay.cs
- CodeVariableDeclarationStatement.cs
- XslTransform.cs
- CodeMethodReturnStatement.cs
- HttpRequest.cs
- XamlStream.cs
- RSAPKCS1KeyExchangeFormatter.cs
- FrameworkContentElement.cs
- UserControl.cs
- TypefaceCollection.cs
- OracleCommandBuilder.cs
- DataControlCommands.cs
- XmlWrappingReader.cs
- RectangleF.cs
- InstallerTypeAttribute.cs
- NotifyCollectionChangedEventArgs.cs
- MdiWindowListItemConverter.cs
- AttributeEmitter.cs
- ConnectionManagementSection.cs
- ArrangedElementCollection.cs
- XPathArrayIterator.cs
- ProgressChangedEventArgs.cs
- DispatcherOperation.cs
- DbXmlEnabledProviderManifest.cs
- ConfigurationManagerInternalFactory.cs
- ClientApiGenerator.cs
- XmlSchemaComplexContentExtension.cs
- SystemThemeKey.cs
- ComMethodElementCollection.cs
- CheckBoxAutomationPeer.cs
- HttpResponseHeader.cs
- Crc32.cs
- ExpressionBuilder.cs
- WebServiceParameterData.cs
- DataKeyCollection.cs
- SafeHandles.cs
- TextRangeBase.cs
- ObjectKeyFrameCollection.cs
- UidManager.cs
- DiscoveryMessageSequence11.cs
- ButtonPopupAdapter.cs
- TableRow.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AutomationPatternInfo.cs
- PeerResolverMode.cs
- PersonalizationProvider.cs
- DocumentEventArgs.cs
- Overlapped.cs
- HttpModuleCollection.cs
- PseudoWebRequest.cs
- DataKey.cs
- ArrangedElementCollection.cs
- StringDictionaryEditor.cs
- panel.cs
- ConfigurationStrings.cs
- RoleService.cs
- SetState.cs
- HMACSHA384.cs
- XsltSettings.cs
- SHA256CryptoServiceProvider.cs
- PublishLicense.cs
- MulticastDelegate.cs
- PolyLineSegmentFigureLogic.cs
- Signature.cs