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
- ServiceHostingEnvironment.cs
- DataGridRowDetailsEventArgs.cs
- XsltSettings.cs
- ChtmlLinkAdapter.cs
- DropDownHolder.cs
- Odbc32.cs
- TreeViewBindingsEditorForm.cs
- TemplateKey.cs
- DataSourceGeneratorException.cs
- DataGridViewSelectedColumnCollection.cs
- FrameworkRichTextComposition.cs
- BitmapEffectInput.cs
- MenuAutoFormat.cs
- BuildProviderAppliesToAttribute.cs
- EntitySetBaseCollection.cs
- ChangeBlockUndoRecord.cs
- ChunkedMemoryStream.cs
- TypeValidationEventArgs.cs
- ResourceContainer.cs
- HandlerMappingMemo.cs
- AutomationProperty.cs
- UInt64Converter.cs
- FixedElement.cs
- ParamArrayAttribute.cs
- pingexception.cs
- TrackingLocationCollection.cs
- ConstructorBuilder.cs
- DivideByZeroException.cs
- TraceProvider.cs
- ToolStripRendererSwitcher.cs
- BrushConverter.cs
- Int16AnimationBase.cs
- BitmapEffectRenderDataResource.cs
- ExpressionBindingCollection.cs
- CustomGrammar.cs
- DataGridCommandEventArgs.cs
- SqlNotificationEventArgs.cs
- MemoryFailPoint.cs
- UnsafeNetInfoNativeMethods.cs
- DynamicDataManager.cs
- SqlMultiplexer.cs
- SByte.cs
- Bezier.cs
- PeerResolverElement.cs
- MemoryStream.cs
- XmlSchemaSimpleContentRestriction.cs
- SocketCache.cs
- SpellerHighlightLayer.cs
- BooleanAnimationBase.cs
- ColorDialog.cs
- WorkflowViewManager.cs
- TableLayout.cs
- srgsitem.cs
- SecureConversationSecurityTokenParameters.cs
- TypeListConverter.cs
- FacetEnabledSchemaElement.cs
- Brush.cs
- ModelTreeManager.cs
- Reference.cs
- Focus.cs
- QilStrConcatenator.cs
- XmlSchemaCollection.cs
- FilteredReadOnlyMetadataCollection.cs
- HwndAppCommandInputProvider.cs
- TextLineResult.cs
- _NegotiateClient.cs
- XmlSiteMapProvider.cs
- OdbcConnectionPoolProviderInfo.cs
- EncodingTable.cs
- DriveInfo.cs
- ObjectAnimationBase.cs
- XmlSchemaInferenceException.cs
- BasicHttpMessageSecurity.cs
- IgnoreDataMemberAttribute.cs
- DrawListViewItemEventArgs.cs
- ForwardPositionQuery.cs
- CqlErrorHelper.cs
- BooleanAnimationUsingKeyFrames.cs
- ComponentConverter.cs
- IgnoreFileBuildProvider.cs
- HttpHandlerAction.cs
- ProxyWebPartManager.cs
- ConstrainedDataObject.cs
- VectorAnimationUsingKeyFrames.cs
- Schema.cs
- SpellerError.cs
- GridViewUpdatedEventArgs.cs
- EntityParameter.cs
- SoapMessage.cs
- CorrelationValidator.cs
- ISSmlParser.cs
- SqlServices.cs
- GridViewPageEventArgs.cs
- DatatypeImplementation.cs
- DataGridItemEventArgs.cs
- Matrix3D.cs
- StylusCaptureWithinProperty.cs
- AsyncStreamReader.cs
- FullTextBreakpoint.cs
- FlowLayoutPanel.cs