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
- InheritanceAttribute.cs
- AssociationEndMember.cs
- Axis.cs
- LoadRetryConstantStrategy.cs
- DrawingImage.cs
- RuleElement.cs
- XmlArrayAttribute.cs
- ApplicationSecurityManager.cs
- HostedHttpRequestAsyncResult.cs
- SHA256.cs
- XmlSchemaObjectCollection.cs
- SimpleType.cs
- RuntimeComponentFilter.cs
- DateTimePickerDesigner.cs
- MULTI_QI.cs
- AuthenticationManager.cs
- NavigationPropertyEmitter.cs
- CharUnicodeInfo.cs
- TreeViewDataItemAutomationPeer.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- JsonObjectDataContract.cs
- ConstructorNeedsTagAttribute.cs
- BatchParser.cs
- ComboBoxRenderer.cs
- SecurityState.cs
- SQLChars.cs
- XPathScanner.cs
- EntryIndex.cs
- OrderedDictionaryStateHelper.cs
- OneOf.cs
- Scene3D.cs
- HostingEnvironmentWrapper.cs
- QuaternionRotation3D.cs
- ConfigXmlText.cs
- CellIdBoolean.cs
- Matrix3DConverter.cs
- GridViewRowPresenter.cs
- Compiler.cs
- MobileControlsSection.cs
- RC2.cs
- QuadraticBezierSegment.cs
- Pkcs7Recipient.cs
- SystemInformation.cs
- PrefixQName.cs
- WindowsGraphicsCacheManager.cs
- VerticalAlignConverter.cs
- BezierSegment.cs
- String.cs
- HtmlInputFile.cs
- DefaultWorkflowSchedulerService.cs
- SamlAssertionKeyIdentifierClause.cs
- PenThreadWorker.cs
- Brush.cs
- TableLayoutSettingsTypeConverter.cs
- EUCJPEncoding.cs
- CallContext.cs
- PtsHelper.cs
- ColorConvertedBitmap.cs
- NamespaceCollection.cs
- UpdatePanel.cs
- MainMenu.cs
- XsdBuildProvider.cs
- SQLMoney.cs
- PropertiesTab.cs
- Evidence.cs
- SqlCharStream.cs
- HtmlInputRadioButton.cs
- HttpListenerTimeoutManager.cs
- TypeGeneratedEventArgs.cs
- SimpleApplicationHost.cs
- ProvidersHelper.cs
- EdmToObjectNamespaceMap.cs
- EmbeddedMailObject.cs
- TypeLoadException.cs
- ByeOperation11AsyncResult.cs
- CommonDialog.cs
- XPathSelfQuery.cs
- ToolStripPanelRenderEventArgs.cs
- SmtpReplyReaderFactory.cs
- ErrorWrapper.cs
- TextContainerHelper.cs
- DesignerAttribute.cs
- DataGridCellsPresenter.cs
- ContainerControlDesigner.cs
- AncillaryOps.cs
- HostedHttpTransportManager.cs
- WindowProviderWrapper.cs
- FlowDocumentPage.cs
- XsdDuration.cs
- DetailsViewUpdateEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- TableCell.cs
- SafeHandles.cs
- FlowLayoutSettings.cs
- FunctionImportMapping.cs
- SoapExtensionTypeElementCollection.cs
- APCustomTypeDescriptor.cs
- ExcCanonicalXml.cs
- AccessKeyManager.cs
- ReadWriteObjectLock.cs