Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / ConfigXmlWhitespace.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 ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo {
public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc )
: base( comment, doc ) {
_line = line;
_filename = filename;
}
int _line;
string _filename;
int IConfigErrorInfo.LineNumber {
get { return _line; }
}
string IConfigErrorInfo.Filename {
get { return _filename; }
}
public override XmlNode CloneNode(bool deep) {
XmlNode cloneNode = base.CloneNode(deep);
ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace;
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
- ItemCheckedEvent.cs
- PropertyCondition.cs
- Multiply.cs
- MiniAssembly.cs
- XmlSchemas.cs
- ParameterInfo.cs
- SrgsElementList.cs
- HttpDateParse.cs
- SineEase.cs
- ConfigurationStrings.cs
- coordinator.cs
- InvokeGenerator.cs
- UriSectionReader.cs
- DetailsViewDeleteEventArgs.cs
- UrlMappingsSection.cs
- TypeListConverter.cs
- AlignmentXValidation.cs
- AlphabetConverter.cs
- XmlQuerySequence.cs
- MetadataCacheItem.cs
- TypeDescriptor.cs
- DependencyObjectProvider.cs
- StringAnimationUsingKeyFrames.cs
- ProcessHost.cs
- ContextQuery.cs
- IFlowDocumentViewer.cs
- SignedXml.cs
- HorizontalAlignConverter.cs
- ObjectRef.cs
- ProtectedConfiguration.cs
- HttpHandler.cs
- LookupNode.cs
- ToolStripRenderer.cs
- XmlHelper.cs
- DesignerFrame.cs
- BindingSource.cs
- Line.cs
- HtmlInputReset.cs
- LayoutSettings.cs
- ObjectViewListener.cs
- MappingMetadataHelper.cs
- PersonalizableTypeEntry.cs
- CookielessHelper.cs
- DbConvert.cs
- ITreeGenerator.cs
- ToolStrip.cs
- DeclarativeCatalogPartDesigner.cs
- SizeAnimationUsingKeyFrames.cs
- TableAdapterManagerNameHandler.cs
- PenThread.cs
- DropTarget.cs
- ContextQuery.cs
- BuildProviderInstallComponent.cs
- DBNull.cs
- printdlgexmarshaler.cs
- Point3D.cs
- AppLevelCompilationSectionCache.cs
- PackageProperties.cs
- Debug.cs
- GenerateScriptTypeAttribute.cs
- QilPatternVisitor.cs
- CompilationUnit.cs
- ConnectionInterfaceCollection.cs
- SchemaTableColumn.cs
- CacheVirtualItemsEvent.cs
- SchemaImporterExtension.cs
- AssemblyCollection.cs
- ArrangedElement.cs
- LongMinMaxAggregationOperator.cs
- ThreadAttributes.cs
- SchemaElement.cs
- PenContext.cs
- SiteMapSection.cs
- SoapCodeExporter.cs
- Property.cs
- AuthStoreRoleProvider.cs
- ThreadTrace.cs
- MetaModel.cs
- AnimationException.cs
- WorkerRequest.cs
- BufferedGraphicsManager.cs
- User.cs
- SafeNativeMethods.cs
- GroupDescription.cs
- ConnectionConsumerAttribute.cs
- BooleanSwitch.cs
- DesignTimeTemplateParser.cs
- RunInstallerAttribute.cs
- TemplateKey.cs
- MouseEvent.cs
- ProcessThreadDesigner.cs
- Bits.cs
- CodeCatchClauseCollection.cs
- SerializationHelper.cs
- ExecutedRoutedEventArgs.cs
- Grant.cs
- JsonWriterDelegator.cs
- FileEnumerator.cs
- panel.cs
- TemplateXamlParser.cs