Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- _ReceiveMessageOverlappedAsyncResult.cs
- ClientTargetSection.cs
- PageAdapter.cs
- TemplateBindingExtensionConverter.cs
- FileVersion.cs
- AdapterUtil.cs
- TextElement.cs
- ListViewDesigner.cs
- PageThemeCodeDomTreeGenerator.cs
- BaseParser.cs
- NameValuePair.cs
- PropertyOrder.cs
- Stack.cs
- BaseDataBoundControl.cs
- ConnectionPoint.cs
- MultipleViewPattern.cs
- CallbackValidatorAttribute.cs
- IdentityVerifier.cs
- DataControlReference.cs
- WebPartDisplayMode.cs
- CacheMemory.cs
- ClassValidator.cs
- DbDataRecord.cs
- XPathNode.cs
- HttpDictionary.cs
- PeerCollaborationPermission.cs
- HttpRuntime.cs
- DescendantQuery.cs
- PersonalizationStateInfo.cs
- SingletonInstanceContextProvider.cs
- DashStyles.cs
- DataSourceGroupCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- arabicshape.cs
- ListCollectionView.cs
- UTF32Encoding.cs
- HtmlElementCollection.cs
- DBSqlParserColumn.cs
- RSAOAEPKeyExchangeFormatter.cs
- ProjectionCamera.cs
- DbQueryCommandTree.cs
- Button.cs
- TextEditorLists.cs
- HttpResponse.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- ToolStripDropDownClosingEventArgs.cs
- SynchronizedInputProviderWrapper.cs
- WindowsEditBoxRange.cs
- XmlNamedNodeMap.cs
- SerialErrors.cs
- TextEffectCollection.cs
- XmlNodeReader.cs
- Path.cs
- DispatcherObject.cs
- PageCanvasSize.cs
- XamlReaderHelper.cs
- TabRenderer.cs
- WindowsRegion.cs
- GridViewAutomationPeer.cs
- BCLDebug.cs
- WebDescriptionAttribute.cs
- ServiceMetadataPublishingElement.cs
- TextBlock.cs
- RequestCacheManager.cs
- MetadataFile.cs
- DynamicPropertyReader.cs
- CatalogPartCollection.cs
- CompositeDesignerAccessibleObject.cs
- CodeTypeDeclaration.cs
- TargetException.cs
- GridItemCollection.cs
- OpCodes.cs
- ECDsaCng.cs
- DataSourceComponent.cs
- BooleanAnimationUsingKeyFrames.cs
- ListViewItemSelectionChangedEvent.cs
- BroadcastEventHelper.cs
- DesignerCategoryAttribute.cs
- EmptyEnumerable.cs
- MachineKeyConverter.cs
- StylusButtonEventArgs.cs
- Int64Converter.cs
- GroupBoxDesigner.cs
- AudioFormatConverter.cs
- RemotingConfigParser.cs
- HandlerMappingMemo.cs
- QuarticEase.cs
- TransactionException.cs
- FontUnit.cs
- Image.cs
- DataGridView.cs
- SynchronousReceiveElement.cs
- GlyphShapingProperties.cs
- HelpOperationInvoker.cs
- HighContrastHelper.cs
- QilStrConcatenator.cs
- ApplicationId.cs
- ColorAnimation.cs
- CustomDictionarySources.cs
- ObjectConverter.cs