Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / 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
- DecodeHelper.cs
- HelpProvider.cs
- ListViewDeletedEventArgs.cs
- FreeFormPanel.cs
- SecurityAccessDeniedException.cs
- UnsafeNativeMethodsPenimc.cs
- DataGridViewCellMouseEventArgs.cs
- ListSortDescription.cs
- RelatedCurrencyManager.cs
- AmbientLight.cs
- dtdvalidator.cs
- Ref.cs
- CompoundFileReference.cs
- EntityWithChangeTrackerStrategy.cs
- ColorDialog.cs
- ReferenceSchema.cs
- EventLogPermission.cs
- GridItemProviderWrapper.cs
- ScalarType.cs
- Win32.cs
- SQLInt32.cs
- DebuggerAttributes.cs
- BitmapDownload.cs
- SendMailErrorEventArgs.cs
- DataGridViewColumnConverter.cs
- SQLDouble.cs
- peernodeimplementation.cs
- RoleExceptions.cs
- HttpModulesSection.cs
- EventLogPermission.cs
- ScrollItemPatternIdentifiers.cs
- TaskDesigner.cs
- ConditionalDesigner.cs
- Compiler.cs
- EntityDataSourceWizardForm.cs
- HttpHeaderCollection.cs
- DataTrigger.cs
- SendSecurityHeaderElement.cs
- TextEffect.cs
- TogglePattern.cs
- TreeNodeStyleCollection.cs
- XmlILTrace.cs
- UserControlCodeDomTreeGenerator.cs
- WinCategoryAttribute.cs
- LinkDescriptor.cs
- XamlPointCollectionSerializer.cs
- GeneralTransform2DTo3D.cs
- ServiceDescriptionSerializer.cs
- XmlArrayAttribute.cs
- ElementMarkupObject.cs
- XmlWriterSettings.cs
- TypeRestriction.cs
- EventProvider.cs
- EntityTypeBase.cs
- MenuRendererStandards.cs
- XmlSchemaSimpleContent.cs
- ResolveNameEventArgs.cs
- SignedPkcs7.cs
- DecoderFallback.cs
- BinaryMethodMessage.cs
- FixUp.cs
- ErrorsHelper.cs
- CacheHelper.cs
- ManagedWndProcTracker.cs
- Speller.cs
- StructureChangedEventArgs.cs
- EmptyElement.cs
- StronglyTypedResourceBuilder.cs
- NamedPermissionSet.cs
- XmlQualifiedName.cs
- RestClientProxyHandler.cs
- SqlCharStream.cs
- XsdBuilder.cs
- SetStateDesigner.cs
- XmlSchemaSimpleContent.cs
- SpellerStatusTable.cs
- PrinterSettings.cs
- SafeFileHandle.cs
- ToolStripGrip.cs
- TransformCollection.cs
- TrustManager.cs
- ConstrainedDataObject.cs
- DynamicMethod.cs
- UIElement3DAutomationPeer.cs
- HandlerMappingMemo.cs
- SocketPermission.cs
- SerialStream.cs
- LoadedOrUnloadedOperation.cs
- CodeTypeMemberCollection.cs
- CreateDataSourceDialog.cs
- UndoUnit.cs
- _FixedSizeReader.cs
- DesignerAutoFormat.cs
- XslTransformFileEditor.cs
- CodeAssignStatement.cs
- StatusBar.cs
- WmpBitmapDecoder.cs
- XmlSchemaSimpleTypeList.cs
- MatchAttribute.cs
- HandlerBase.cs