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
- InvalidMessageContractException.cs
- BulletChrome.cs
- BrowserCapabilitiesFactory35.cs
- CodeSnippetTypeMember.cs
- Point4D.cs
- Application.cs
- PropertyInfoSet.cs
- EntityContainerAssociationSet.cs
- ToolStripDropDownClosedEventArgs.cs
- MetadataArtifactLoaderFile.cs
- TracingConnectionListener.cs
- DataSourceCache.cs
- WebSysDescriptionAttribute.cs
- SqlDataSourceAdvancedOptionsForm.cs
- TranslateTransform3D.cs
- TextEditorSelection.cs
- HttpErrorTraceRecord.cs
- ExtenderControl.cs
- NavigationProperty.cs
- HandlerBase.cs
- ByteStorage.cs
- EventDrivenDesigner.cs
- GradientBrush.cs
- UpdateProgress.cs
- SqlReferenceCollection.cs
- SingleStorage.cs
- SessionParameter.cs
- XhtmlBasicValidationSummaryAdapter.cs
- Block.cs
- UndoUnit.cs
- FormatConvertedBitmap.cs
- SessionParameter.cs
- DynamicUpdateCommand.cs
- CoreSwitches.cs
- AsyncCompletedEventArgs.cs
- CustomLineCap.cs
- WebEventTraceProvider.cs
- UriPrefixTable.cs
- TimelineClockCollection.cs
- SqlDataSourceEnumerator.cs
- FileDialogCustomPlace.cs
- HttpProfileGroupBase.cs
- PenThreadPool.cs
- AspNetPartialTrustHelpers.cs
- HtmlFormWrapper.cs
- SubpageParaClient.cs
- IResourceProvider.cs
- CheckableControlBaseAdapter.cs
- SortedDictionary.cs
- OrderingQueryOperator.cs
- XDRSchema.cs
- MouseCaptureWithinProperty.cs
- wgx_render.cs
- UpdateTranslator.cs
- IntegerValidator.cs
- XmlSchemaSet.cs
- AutomationPropertyInfo.cs
- ReadOnlyDictionary.cs
- AmbientLight.cs
- Int64KeyFrameCollection.cs
- SupportsEventValidationAttribute.cs
- XmlEnumAttribute.cs
- Triangle.cs
- DiffuseMaterial.cs
- Activator.cs
- BuildProviderAppliesToAttribute.cs
- WindowsFormsHost.cs
- NegotiateStream.cs
- Constraint.cs
- TextSerializer.cs
- FieldAccessException.cs
- ImportStoreException.cs
- UrlAuthFailedErrorFormatter.cs
- _AuthenticationState.cs
- SiteOfOriginContainer.cs
- UdpDuplexChannel.cs
- TokenBasedSetEnumerator.cs
- GridErrorDlg.cs
- TemplateKeyConverter.cs
- WebBaseEventKeyComparer.cs
- ConstructorBuilder.cs
- SendSecurityHeaderElement.cs
- DialogWindow.cs
- BasePropertyDescriptor.cs
- XmlSchemaAttributeGroupRef.cs
- FormatException.cs
- VisualStyleElement.cs
- MyContact.cs
- Configuration.cs
- DrawListViewSubItemEventArgs.cs
- RecognitionEventArgs.cs
- Internal.cs
- TransformGroup.cs
- ListBindingHelper.cs
- FreezableCollection.cs
- DetailsViewUpdatedEventArgs.cs
- NamespaceMapping.cs
- XmlElementAttribute.cs
- HighlightComponent.cs
- Utils.cs