Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TraceHwndHost.cs
- ThumbAutomationPeer.cs
- HttpCachePolicy.cs
- PerfCounters.cs
- MultiPropertyDescriptorGridEntry.cs
- VersionedStreamOwner.cs
- SwitchExpression.cs
- ArrayList.cs
- SortExpressionBuilder.cs
- DataGridViewRow.cs
- WebSysDescriptionAttribute.cs
- TempFiles.cs
- CapabilitiesState.cs
- DbRetry.cs
- NaturalLanguageHyphenator.cs
- DeploymentSectionCache.cs
- DataBindingHandlerAttribute.cs
- InvalidFilterCriteriaException.cs
- HtmlLink.cs
- LineSegment.cs
- ApplicationSecurityInfo.cs
- ApplicationServicesHostFactory.cs
- Visitor.cs
- XmlSignificantWhitespace.cs
- Query.cs
- ASCIIEncoding.cs
- MSAANativeProvider.cs
- LinqDataSourceContextData.cs
- DateBoldEvent.cs
- WebPartPersonalization.cs
- DataGridViewTextBoxEditingControl.cs
- XmlDataFileEditor.cs
- FontSource.cs
- ToolStripItemTextRenderEventArgs.cs
- XmlTextReaderImplHelpers.cs
- VarRemapper.cs
- MarshalByValueComponent.cs
- ParameterElementCollection.cs
- RoutingExtension.cs
- UriSchemeKeyedCollection.cs
- DBBindings.cs
- AssemblyBuilder.cs
- CheckBox.cs
- TransactionTable.cs
- CodePropertyReferenceExpression.cs
- ResourceExpression.cs
- CodeSnippetCompileUnit.cs
- ProfileEventArgs.cs
- AccessViolationException.cs
- ControlEvent.cs
- HttpModuleAction.cs
- AvTrace.cs
- RectAnimationUsingKeyFrames.cs
- TypeUsage.cs
- XmlEncodedRawTextWriter.cs
- EpmSourcePathSegment.cs
- ADMembershipUser.cs
- ByteAnimationBase.cs
- Point3DCollection.cs
- CodeSubDirectoriesCollection.cs
- Sql8ConformanceChecker.cs
- SelectorItemAutomationPeer.cs
- ButtonChrome.cs
- DecimalKeyFrameCollection.cs
- DocumentSequence.cs
- MonitoringDescriptionAttribute.cs
- WebBrowsableAttribute.cs
- SocketException.cs
- HostExecutionContextManager.cs
- ToolStripPanel.cs
- SHA256.cs
- ListViewItemEventArgs.cs
- LogSwitch.cs
- DataMemberFieldConverter.cs
- NativeMethods.cs
- ClientType.cs
- WebBrowser.cs
- WindowsStatic.cs
- NotifyParentPropertyAttribute.cs
- NullPackagingPolicy.cs
- XmlDataProvider.cs
- Connection.cs
- QilTernary.cs
- URL.cs
- PipelineModuleStepContainer.cs
- DesignTimeHTMLTextWriter.cs
- InvalidateEvent.cs
- DateTimeParse.cs
- DataGridViewLinkCell.cs
- Debug.cs
- NamedPipeConnectionPoolSettingsElement.cs
- ImageIndexConverter.cs
- HtmlInputButton.cs
- BitmapVisualManager.cs
- StrongNameUtility.cs
- SmtpMail.cs
- XamlHostingConfiguration.cs
- ValueChangedEventManager.cs
- SemanticResultValue.cs
- XmlIterators.cs