Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1 / 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.
//------------------------------------------------------------------------------
//
// 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
- AssemblySettingAttributes.cs
- isolationinterop.cs
- HandlerMappingMemo.cs
- HttpDictionary.cs
- WindowsButton.cs
- AppliedDeviceFiltersEditor.cs
- TextOutput.cs
- PropertyState.cs
- OdbcRowUpdatingEvent.cs
- DataPointer.cs
- BindingManagerDataErrorEventArgs.cs
- HighContrastHelper.cs
- AutomationIdentifier.cs
- ProviderConnectionPointCollection.cs
- File.cs
- SafeTimerHandle.cs
- BitmapFrameDecode.cs
- VisualStyleInformation.cs
- SqlError.cs
- DeflateEmulationStream.cs
- MessageQueuePermissionEntryCollection.cs
- XmlArrayItemAttribute.cs
- WorkflowTransactionOptions.cs
- Message.cs
- UInt64.cs
- MsmqSecureHashAlgorithm.cs
- SByteConverter.cs
- CacheModeConverter.cs
- _LocalDataStoreMgr.cs
- WindowsSecurityToken.cs
- EntityCommandCompilationException.cs
- TextBox.cs
- UnsafeNativeMethods.cs
- precedingsibling.cs
- StreamInfo.cs
- TextProperties.cs
- _HeaderInfoTable.cs
- TextSelection.cs
- _NegoStream.cs
- PartitionResolver.cs
- TextParagraphView.cs
- RadialGradientBrush.cs
- WebPartDisplayModeCancelEventArgs.cs
- XmlSerializationWriter.cs
- EventsTab.cs
- ExtendedProperty.cs
- WindowsGrip.cs
- HighContrastHelper.cs
- BlurEffect.cs
- Light.cs
- ContainerParaClient.cs
- PageContent.cs
- TableLayoutCellPaintEventArgs.cs
- ConnectionPoint.cs
- StrokeNodeEnumerator.cs
- WebSysDescriptionAttribute.cs
- RegexRunnerFactory.cs
- TemplateControlParser.cs
- SettingsPropertyValue.cs
- RadioButtonRenderer.cs
- SqlCommand.cs
- InstalledVoice.cs
- SqlGenerator.cs
- KeyValueInternalCollection.cs
- NoPersistProperty.cs
- WebBaseEventKeyComparer.cs
- PlatformCulture.cs
- BindingElementExtensionElement.cs
- Policy.cs
- AsyncOperation.cs
- WindowsListViewItemCheckBox.cs
- TreeChangeInfo.cs
- BasicHttpBinding.cs
- SqlDataRecord.cs
- DockPanel.cs
- LoginName.cs
- PhysicalAddress.cs
- ParentQuery.cs
- precedingsibling.cs
- Char.cs
- DigitShape.cs
- ListControlStringCollectionEditor.cs
- TreeNodeStyleCollection.cs
- CacheDependency.cs
- DataServiceKeyAttribute.cs
- dbdatarecord.cs
- Model3DGroup.cs
- TextReader.cs
- _RequestCacheProtocol.cs
- DispatcherObject.cs
- ItemsChangedEventArgs.cs
- UserControlAutomationPeer.cs
- DateTimeOffsetStorage.cs
- MultiView.cs
- AncillaryOps.cs
- EnumerableCollectionView.cs
- PeerResolver.cs
- AttributeQuery.cs
- ListDesigner.cs
- CapabilitiesRule.cs