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
- DataGridViewColumnCollectionDialog.cs
- ParserOptions.cs
- OracleNumber.cs
- AnimationClock.cs
- SpAudioStreamWrapper.cs
- CancelEventArgs.cs
- FrameworkContextData.cs
- TransformPattern.cs
- ContentType.cs
- DecoderReplacementFallback.cs
- NullableBoolConverter.cs
- StateFinalizationDesigner.cs
- IdSpace.cs
- ToolStripRenderer.cs
- Predicate.cs
- SQLInt64.cs
- FindCriteriaCD1.cs
- OleDbParameter.cs
- RelOps.cs
- KnownTypes.cs
- WindowsToolbar.cs
- KeyInterop.cs
- UpdateDelegates.Generated.cs
- SafeNativeMemoryHandle.cs
- ExtensibleClassFactory.cs
- TrackBarRenderer.cs
- Visual3DCollection.cs
- MethodSet.cs
- PolygonHotSpot.cs
- Validator.cs
- DataFieldCollectionEditor.cs
- HtmlTableCellCollection.cs
- VarRefManager.cs
- ToolStripPanelRenderEventArgs.cs
- StrokeNodeData.cs
- SettingsAttributeDictionary.cs
- CodeAssignStatement.cs
- Message.cs
- App.cs
- DbDataRecord.cs
- WebExceptionStatus.cs
- OraclePermission.cs
- CollectionViewSource.cs
- BuildProvider.cs
- hresults.cs
- UnsafeNativeMethods.cs
- ProjectionCamera.cs
- SizeKeyFrameCollection.cs
- BroadcastEventHelper.cs
- BindingContext.cs
- TileBrush.cs
- ImplicitInputBrush.cs
- DecimalFormatter.cs
- ListViewGroupConverter.cs
- PeerApplication.cs
- ReflectTypeDescriptionProvider.cs
- PublisherMembershipCondition.cs
- WebPartManagerInternals.cs
- TextViewDesigner.cs
- TypeConverter.cs
- SqlReorderer.cs
- PtsHost.cs
- QuestionEventArgs.cs
- Helper.cs
- EntityCodeGenerator.cs
- ThemeInfoAttribute.cs
- MarkupObject.cs
- Int16Converter.cs
- HtmlInputSubmit.cs
- XmlWellformedWriterHelpers.cs
- ItemList.cs
- RequestTimeoutManager.cs
- FlagsAttribute.cs
- RelationalExpressions.cs
- DataControlImageButton.cs
- ClientSettingsSection.cs
- CollectionViewSource.cs
- TraversalRequest.cs
- ConfigXmlComment.cs
- ToolStripSystemRenderer.cs
- PopupRoot.cs
- FileRecordSequence.cs
- WaitHandle.cs
- SecureEnvironment.cs
- WebPartZoneBase.cs
- EntryPointNotFoundException.cs
- DataRecordInternal.cs
- QuaternionValueSerializer.cs
- _NTAuthentication.cs
- XPathNodePointer.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TrustLevelCollection.cs
- Splitter.cs
- UrlPath.cs
- GridViewColumnHeaderAutomationPeer.cs
- Keyboard.cs
- Span.cs
- UpdateDelegates.Generated.cs
- NativeMethods.cs
- DetailsViewInsertEventArgs.cs