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
- MDIControlStrip.cs
- ValidationPropertyAttribute.cs
- TextUtf8RawTextWriter.cs
- FormViewModeEventArgs.cs
- SmtpTransport.cs
- SequentialOutput.cs
- SpotLight.cs
- HttpWriter.cs
- ArgumentDesigner.xaml.cs
- MasterPageBuildProvider.cs
- OutputCacheSection.cs
- CharacterBuffer.cs
- XMLSchema.cs
- TextContainerHelper.cs
- sqlpipe.cs
- BodyGlyph.cs
- ApplicationFileCodeDomTreeGenerator.cs
- UInt32Storage.cs
- Int32Rect.cs
- FigureParagraph.cs
- CardSpaceSelector.cs
- ShaderEffect.cs
- JournalEntryStack.cs
- MetadataSerializer.cs
- ResourceExpressionEditorSheet.cs
- Control.cs
- WebPartManager.cs
- ManipulationDelta.cs
- TextEffect.cs
- ServerIdentity.cs
- PolyBezierSegment.cs
- SQLDouble.cs
- ExeConfigurationFileMap.cs
- ElementNotAvailableException.cs
- Scripts.cs
- XmlSigningNodeWriter.cs
- ViewStateException.cs
- ToolStripSeparator.cs
- Bookmark.cs
- DictionaryEntry.cs
- ScrollBarRenderer.cs
- XmlCompatibilityReader.cs
- MonthCalendar.cs
- WebRequestModulesSection.cs
- RecordConverter.cs
- SHA384.cs
- XmlSerializationReader.cs
- ExpressionEvaluator.cs
- MarkupCompilePass1.cs
- LocationFactory.cs
- TextEncodedRawTextWriter.cs
- TrackingStringDictionary.cs
- Selection.cs
- RangeValuePattern.cs
- ChildTable.cs
- Configuration.cs
- ReflectionPermission.cs
- MoveSizeWinEventHandler.cs
- BindingBase.cs
- MessageSmuggler.cs
- StreamAsIStream.cs
- XmlSchemaComplexContent.cs
- HijriCalendar.cs
- ContentFileHelper.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- wmiprovider.cs
- COM2AboutBoxPropertyDescriptor.cs
- StringDictionaryWithComparer.cs
- MenuTracker.cs
- PerspectiveCamera.cs
- DragStartedEventArgs.cs
- QilStrConcat.cs
- LifetimeServices.cs
- FileEnumerator.cs
- DocumentOutline.cs
- UIElement3D.cs
- NullableBoolConverter.cs
- SecurityDescriptor.cs
- PageBreakRecord.cs
- ConnectorEditor.cs
- ModulesEntry.cs
- DataBinding.cs
- ExpressionEditorAttribute.cs
- COM2ComponentEditor.cs
- SiteMapDataSource.cs
- NameSpaceEvent.cs
- RadioButtonBaseAdapter.cs
- CodeEntryPointMethod.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- SMSvcHost.cs
- TextElementEnumerator.cs
- NotifyParentPropertyAttribute.cs
- CompareInfo.cs
- _HeaderInfoTable.cs
- PolicyLevel.cs
- TransactionsSectionGroup.cs
- DataControlImageButton.cs
- EdmConstants.cs
- ItemType.cs
- DataGridViewTopRowAccessibleObject.cs