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
- Attribute.cs
- TrackingMemoryStreamFactory.cs
- XmlSchemaElement.cs
- SafeNativeMethodsMilCoreApi.cs
- LoginView.cs
- PermissionListSet.cs
- TagPrefixInfo.cs
- EditingCommands.cs
- Configuration.cs
- ButtonChrome.cs
- AdRotator.cs
- DocumentViewerConstants.cs
- XmlNodeReader.cs
- FontFamilyConverter.cs
- BamlReader.cs
- SapiGrammar.cs
- LexicalChunk.cs
- loginstatus.cs
- PropertySourceInfo.cs
- RemoteHelper.cs
- BindToObject.cs
- GeneralTransform3D.cs
- VerificationAttribute.cs
- CryptoConfig.cs
- StrokeNodeOperations2.cs
- ChannelManager.cs
- Style.cs
- IntSecurity.cs
- Exception.cs
- XmlSchemaExporter.cs
- TimelineClockCollection.cs
- dataSvcMapFileLoader.cs
- IImplicitResourceProvider.cs
- ControlEvent.cs
- Debugger.cs
- Manipulation.cs
- NavigateUrlConverter.cs
- SafeFindHandle.cs
- Facet.cs
- SHA256.cs
- SchemaImporterExtensionElementCollection.cs
- ExtenderProviderService.cs
- AvtEvent.cs
- PeerNearMe.cs
- TrackingValidationObjectDictionary.cs
- XmlChoiceIdentifierAttribute.cs
- TemplateBaseAction.cs
- BinaryObjectReader.cs
- DummyDataSource.cs
- DateTimeSerializationSection.cs
- RedBlackList.cs
- GridViewCommandEventArgs.cs
- ImageListImageEditor.cs
- RuleSettingsCollection.cs
- CatalogZone.cs
- SHA512.cs
- HScrollBar.cs
- TextEffectResolver.cs
- HttpCookieCollection.cs
- DependencyPropertyChangedEventArgs.cs
- Select.cs
- SystemFonts.cs
- BitConverter.cs
- WsdlInspector.cs
- OperatingSystem.cs
- ConfigXmlSignificantWhitespace.cs
- StyleCollection.cs
- DataRelationPropertyDescriptor.cs
- NonSerializedAttribute.cs
- MetadataWorkspace.cs
- RootNamespaceAttribute.cs
- PropertyGridDesigner.cs
- ObjectAnimationUsingKeyFrames.cs
- PerfService.cs
- WorkflowTraceTransfer.cs
- ResourceDefaultValueAttribute.cs
- ParserContext.cs
- DocumentXmlWriter.cs
- ConstrainedDataObject.cs
- RectangleGeometry.cs
- UdpSocketReceiveManager.cs
- ActivityTypeResolver.xaml.cs
- DataObjectFieldAttribute.cs
- System.Data_BID.cs
- SqlServer2KCompatibilityAnnotation.cs
- XsltSettings.cs
- ImplicitInputBrush.cs
- MembershipValidatePasswordEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- Permission.cs
- TagMapInfo.cs
- FormsAuthenticationCredentials.cs
- XmlUtf8RawTextWriter.cs
- HttpHandlersSection.cs
- NavigateEvent.cs
- ProtocolReflector.cs
- UnmanagedBitmapWrapper.cs
- CategoryGridEntry.cs
- DefaultParameterValueAttribute.cs
- BufferModeSettings.cs