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
- ApplicationServicesHostFactory.cs
- Condition.cs
- SoapTypeAttribute.cs
- UnknownBitmapEncoder.cs
- EntityContainer.cs
- TypeConverterHelper.cs
- PostBackOptions.cs
- BamlRecordReader.cs
- PrintingPermissionAttribute.cs
- DataServiceHostFactory.cs
- CollectionContainer.cs
- StringAnimationUsingKeyFrames.cs
- DataFormats.cs
- ProviderBase.cs
- MethodBody.cs
- PermissionRequestEvidence.cs
- ToolboxComponentsCreatedEventArgs.cs
- ObjectReaderCompiler.cs
- Accessors.cs
- Storyboard.cs
- DecimalAnimation.cs
- NameTable.cs
- SubqueryRules.cs
- CompilationSection.cs
- StringFunctions.cs
- PEFileReader.cs
- ClientEventManager.cs
- Zone.cs
- ScriptReferenceEventArgs.cs
- autovalidator.cs
- IndicCharClassifier.cs
- FlowDocumentView.cs
- ErrorFormatterPage.cs
- OutputCacheProfileCollection.cs
- GatewayIPAddressInformationCollection.cs
- PositiveTimeSpanValidator.cs
- StylusDownEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- WebRequestModuleElement.cs
- RelationshipEnd.cs
- SeekStoryboard.cs
- ReversePositionQuery.cs
- ByteStack.cs
- UriTemplateTrieLocation.cs
- FutureFactory.cs
- DocumentsTrace.cs
- HTMLTextWriter.cs
- TextTreeNode.cs
- ScriptReferenceEventArgs.cs
- SerialPinChanges.cs
- FontStyle.cs
- ConsoleCancelEventArgs.cs
- AutomationProperties.cs
- OuterGlowBitmapEffect.cs
- ExceptionRoutedEventArgs.cs
- PropertyChangedEventManager.cs
- BCryptHashAlgorithm.cs
- HandlerBase.cs
- XomlDesignerLoader.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- ThreadInterruptedException.cs
- DesignerTransaction.cs
- ReadContentAsBinaryHelper.cs
- BufferedOutputStream.cs
- ListDictionary.cs
- NamespaceMapping.cs
- CalendarButtonAutomationPeer.cs
- DbBuffer.cs
- CustomAttributeSerializer.cs
- RoleManagerSection.cs
- InstallerTypeAttribute.cs
- LayoutManager.cs
- Line.cs
- CallbackValidator.cs
- SoapEnvelopeProcessingElement.cs
- DatatypeImplementation.cs
- FixedBufferAttribute.cs
- EntityDataSourceChangedEventArgs.cs
- MediaElement.cs
- FixedHighlight.cs
- Page.cs
- PrintDialog.cs
- DataGridColumnCollectionEditor.cs
- documentation.cs
- FrugalMap.cs
- CancelEventArgs.cs
- XmlSerializationReader.cs
- UnsafeNativeMethods.cs
- ForceCopyBuildProvider.cs
- QueryCacheEntry.cs
- OutputCacheSettingsSection.cs
- APCustomTypeDescriptor.cs
- AsyncResult.cs
- JulianCalendar.cs
- ScriptingAuthenticationServiceSection.cs
- _UriSyntax.cs
- SettingsSection.cs
- JoinCqlBlock.cs
- DataReceivedEventArgs.cs
- PointCollectionConverter.cs