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
- Deserializer.cs
- SqlCommandBuilder.cs
- PageOrientation.cs
- ManualResetEvent.cs
- BasicCellRelation.cs
- EntityDataSourceDataSelection.cs
- EqualityComparer.cs
- MonikerProxyAttribute.cs
- Mouse.cs
- StoreItemCollection.Loader.cs
- TriggerActionCollection.cs
- StructuredTypeInfo.cs
- TextSpan.cs
- DataSourceIDConverter.cs
- CellCreator.cs
- WebPartMenuStyle.cs
- PathData.cs
- Visual3D.cs
- GridViewRowEventArgs.cs
- EdgeModeValidation.cs
- CompilationSection.cs
- ScrollItemPatternIdentifiers.cs
- DbProviderFactory.cs
- LinqDataSourceHelper.cs
- EditorPart.cs
- BlurBitmapEffect.cs
- PriorityQueue.cs
- CodeCastExpression.cs
- SID.cs
- SQlBooleanStorage.cs
- ProfileManager.cs
- Style.cs
- AccessedThroughPropertyAttribute.cs
- ElementMarkupObject.cs
- DataGridViewBand.cs
- DesignOnlyAttribute.cs
- isolationinterop.cs
- TextServicesPropertyRanges.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ProtectedConfigurationProviderCollection.cs
- NetworkInformationException.cs
- NumberFormatInfo.cs
- ShaderEffect.cs
- Automation.cs
- PathGeometry.cs
- FileLoadException.cs
- x509store.cs
- ExpandableObjectConverter.cs
- BindingNavigator.cs
- DetailsViewDesigner.cs
- AuthStoreRoleProvider.cs
- FloatUtil.cs
- ContentOnlyMessage.cs
- CodeNamespaceImport.cs
- TypedOperationInfo.cs
- CounterNameConverter.cs
- FileDialogPermission.cs
- XmlAttributes.cs
- IntSecurity.cs
- DataRowExtensions.cs
- ConfigXmlAttribute.cs
- RayHitTestParameters.cs
- SourceSwitch.cs
- EntityDataSourceValidationException.cs
- UrlMappingsSection.cs
- WebPartVerbCollection.cs
- SafeFileMappingHandle.cs
- ObjectDataSourceMethodEditor.cs
- httpapplicationstate.cs
- EventManager.cs
- EnvelopedSignatureTransform.cs
- SchemaMerger.cs
- ImageSourceConverter.cs
- CompleteWizardStep.cs
- DateTime.cs
- NotCondition.cs
- EntityDataSourceContainerNameItem.cs
- DefaultBindingPropertyAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- PublisherIdentityPermission.cs
- ComponentGlyph.cs
- FormsAuthenticationModule.cs
- EmbeddedMailObject.cs
- EditorPart.cs
- EntityProviderFactory.cs
- GPStream.cs
- ValueOfAction.cs
- RequestQueue.cs
- DesignerObjectListAdapter.cs
- ElementsClipboardData.cs
- TriggerCollection.cs
- NavigationProperty.cs
- XmlSchemaSimpleTypeRestriction.cs
- Composition.cs
- PageTheme.cs
- ProfilePropertySettingsCollection.cs
- Variable.cs
- FastPropertyAccessor.cs
- BrowserInteropHelper.cs
- Configuration.cs