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
- Directory.cs
- XmlSchemaSimpleContentRestriction.cs
- QilPatternVisitor.cs
- XpsS0ValidatingLoader.cs
- InkCanvas.cs
- CryptoStream.cs
- ReadContentAsBinaryHelper.cs
- CharacterShapingProperties.cs
- ResizingMessageFilter.cs
- ListItemCollection.cs
- CultureInfoConverter.cs
- DataServiceContext.cs
- TranslateTransform3D.cs
- ExpressionHelper.cs
- TextRangeEditLists.cs
- VirtualPath.cs
- CompiledQuery.cs
- TabItemAutomationPeer.cs
- TargetPerspective.cs
- ReferencedAssembly.cs
- XamlSerializerUtil.cs
- VideoDrawing.cs
- AdornerHitTestResult.cs
- AssemblyInfo.cs
- RecommendedAsConfigurableAttribute.cs
- ProcessHost.cs
- AddressAccessDeniedException.cs
- SimpleWorkerRequest.cs
- DockPanel.cs
- RawStylusActions.cs
- Journal.cs
- DefaultAsyncDataDispatcher.cs
- TaskFormBase.cs
- ConditionCollection.cs
- ItemsChangedEventArgs.cs
- ForeignKeyFactory.cs
- DataControlImageButton.cs
- BaseCollection.cs
- MetadataPropertyAttribute.cs
- DataGridViewTextBoxEditingControl.cs
- TextStore.cs
- BuildProvider.cs
- Rect.cs
- CodeExpressionStatement.cs
- InvalidPrinterException.cs
- MsmqChannelListenerBase.cs
- EndpointIdentityExtension.cs
- XXXInfos.cs
- ZipIOLocalFileDataDescriptor.cs
- PrintingPermissionAttribute.cs
- Interlocked.cs
- _PooledStream.cs
- MouseBinding.cs
- SerializationInfoEnumerator.cs
- SqlVisitor.cs
- TypeBuilderInstantiation.cs
- WorkflowInlining.cs
- DataGridColumnCollection.cs
- GridViewRowPresenter.cs
- XmlNamespaceDeclarationsAttribute.cs
- ManagedWndProcTracker.cs
- CollectionBuilder.cs
- MetabaseSettings.cs
- BinaryConverter.cs
- MatrixAnimationUsingKeyFrames.cs
- CacheSection.cs
- SizeFConverter.cs
- ManualWorkflowSchedulerService.cs
- ReadOnlyAttribute.cs
- ObjectViewFactory.cs
- GeneralTransform3DTo2DTo3D.cs
- ToolStrip.cs
- KeyEvent.cs
- AnchoredBlock.cs
- EventLog.cs
- RoleServiceManager.cs
- OdbcException.cs
- PageRanges.cs
- GlobalizationAssembly.cs
- TargetException.cs
- XmlTextReaderImplHelpers.cs
- MarkupCompilePass2.cs
- TextFormatterImp.cs
- Emitter.cs
- UIElementHelper.cs
- SmiXetterAccessMap.cs
- TileModeValidation.cs
- HybridDictionary.cs
- GridEntryCollection.cs
- InheritanceContextHelper.cs
- BuilderPropertyEntry.cs
- SubMenuStyleCollection.cs
- _ShellExpression.cs
- HostingEnvironmentException.cs
- _SecureChannel.cs
- UnknownBitmapEncoder.cs
- DefaultObjectMappingItemCollection.cs
- SoapCodeExporter.cs
- IListConverters.cs
- TypedDataSetSchemaImporterExtension.cs