Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo {
public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc)
: base(strData, 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);
ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace;
if (clone != null) {
clone._line = _line;
clone._filename = _filename;
}
return cloneNode;
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CatalogPartCollection.cs
- TagMapInfo.cs
- BaseServiceProvider.cs
- StrokeIntersection.cs
- OutputCacheSection.cs
- TypeForwardedToAttribute.cs
- Sentence.cs
- Timeline.cs
- QueryContinueDragEvent.cs
- Serializer.cs
- PageClientProxyGenerator.cs
- Shape.cs
- Resources.Designer.cs
- CdpEqualityComparer.cs
- CanonicalXml.cs
- DelegatedStream.cs
- ReachFixedPageSerializer.cs
- DispatchProxy.cs
- OracleException.cs
- XmlNullResolver.cs
- DynamicDataManager.cs
- CodeNamespaceCollection.cs
- WebPartMovingEventArgs.cs
- DisplayInformation.cs
- DataColumnCollection.cs
- ToolStripOverflow.cs
- UpdatePanelControlTrigger.cs
- DataContractJsonSerializerOperationFormatter.cs
- StrokeNode.cs
- AnnotationComponentManager.cs
- CollectionBuilder.cs
- TextElement.cs
- HttpCookiesSection.cs
- PageCatalogPartDesigner.cs
- ModifierKeysValueSerializer.cs
- CroppedBitmap.cs
- Button.cs
- ImageListStreamer.cs
- IpcManager.cs
- SecureUICommand.cs
- BrowserDefinition.cs
- VisualStyleRenderer.cs
- WSFederationHttpBinding.cs
- EditorPartCollection.cs
- PropertyRef.cs
- XslTransform.cs
- PropertySourceInfo.cs
- ApplicationServiceHelper.cs
- SchemaType.cs
- ContentType.cs
- IPEndPoint.cs
- HuffmanTree.cs
- IApplicationTrustManager.cs
- DesignerFrame.cs
- ObjectStateFormatter.cs
- Helpers.cs
- Int64Animation.cs
- RequestCacheValidator.cs
- CompressedStack.cs
- XmlSerializationGeneratedCode.cs
- ProcessManager.cs
- CaseExpr.cs
- AdornerDecorator.cs
- SystemEvents.cs
- PageSettings.cs
- HtmlTableCell.cs
- EncoderParameters.cs
- TextUtf8RawTextWriter.cs
- CodeDesigner.cs
- PointKeyFrameCollection.cs
- AnnotationObservableCollection.cs
- baseshape.cs
- MarshalByValueComponent.cs
- RuntimeCompatibilityAttribute.cs
- ValidatedMobileControlConverter.cs
- DesignerSerializationOptionsAttribute.cs
- SamlSerializer.cs
- SmiMetaDataProperty.cs
- AnnotationComponentChooser.cs
- HttpDebugHandler.cs
- AVElementHelper.cs
- ReadWriteSpinLock.cs
- PathGeometry.cs
- DataGridViewSelectedRowCollection.cs
- TraceInternal.cs
- SqlLiftIndependentRowExpressions.cs
- HorizontalAlignConverter.cs
- WebPartDisplayMode.cs
- ErrorTableItemStyle.cs
- Rect.cs
- InfoCardCryptoHelper.cs
- HttpWebRequest.cs
- SecurityContextSecurityTokenAuthenticator.cs
- ErrorsHelper.cs
- XPathException.cs
- DSASignatureDeformatter.cs
- DetailsViewAutoFormat.cs
- IntSumAggregationOperator.cs
- SystemResources.cs
- PropertyValidationContext.cs