Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- HttpRawResponse.cs
- DesignerLabelAdapter.cs
- SafeHandle.cs
- HitTestFilterBehavior.cs
- PersonalizationStateQuery.cs
- QueryRewriter.cs
- UrlRoutingHandler.cs
- XsltOutput.cs
- HttpCachePolicy.cs
- BinaryReader.cs
- Pair.cs
- HelpOperationInvoker.cs
- BCLDebug.cs
- TextTrailingCharacterEllipsis.cs
- ServerIdentity.cs
- SAPIEngineTypes.cs
- CalendarDataBindingHandler.cs
- TranslateTransform3D.cs
- InkCanvasFeedbackAdorner.cs
- ValidatorUtils.cs
- ExcludeFromCodeCoverageAttribute.cs
- PluralizationService.cs
- DataControlReferenceCollection.cs
- ArglessEventHandlerProxy.cs
- ParameterElementCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- ObjectViewQueryResultData.cs
- InvokePattern.cs
- CodeExpressionCollection.cs
- ProjectionPath.cs
- FileChangesMonitor.cs
- X509Certificate2.cs
- ReliableSession.cs
- RegionData.cs
- SequenceQuery.cs
- ToolStripPanelRow.cs
- TypeForwardedToAttribute.cs
- ByteViewer.cs
- ImageListStreamer.cs
- ValueQuery.cs
- HttpWriter.cs
- NativeMethodsCLR.cs
- SqlGatherProducedAliases.cs
- XappLauncher.cs
- MulticastNotSupportedException.cs
- CookielessHelper.cs
- AssemblyUtil.cs
- LambdaCompiler.Lambda.cs
- BigInt.cs
- RichListBox.cs
- ExtensionQuery.cs
- HttpModuleCollection.cs
- AutomationPatternInfo.cs
- DefaultEventAttribute.cs
- ConstraintStruct.cs
- Geometry.cs
- RequestTimeoutManager.cs
- QueryOperator.cs
- MessageDecoder.cs
- MethodRental.cs
- RepeaterItemCollection.cs
- CheckoutException.cs
- SQLBoolean.cs
- SmiContext.cs
- CodeSnippetCompileUnit.cs
- HttpRuntimeSection.cs
- BitmapSizeOptions.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Config.cs
- ExclusiveTcpListener.cs
- SingleResultAttribute.cs
- NominalTypeEliminator.cs
- EventArgs.cs
- ApplicationException.cs
- FormViewModeEventArgs.cs
- PopupRoot.cs
- SecurityException.cs
- SizeAnimation.cs
- TempFiles.cs
- TextEndOfLine.cs
- _NegoStream.cs
- RectangleF.cs
- SafeNativeMethods.cs
- DataGridPreparingCellForEditEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- EmptyCollection.cs
- HttpApplication.cs
- ListViewSelectEventArgs.cs
- ClientProtocol.cs
- PopupRoot.cs
- ChildTable.cs
- WebPartHelpVerb.cs
- GetWinFXPath.cs
- GroupItem.cs
- CodeDOMUtility.cs
- DataGridHeaderBorder.cs
- ToolStripDropDownDesigner.cs
- XmlConvert.cs
- GradientStop.cs
- IntSecurity.cs