Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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
- SafeProcessHandle.cs
- Mappings.cs
- MdImport.cs
- DataGridViewSelectedRowCollection.cs
- RuntimeConfig.cs
- TextBox.cs
- TextPattern.cs
- SoapSchemaImporter.cs
- EndpointAddress.cs
- CustomAttribute.cs
- RotationValidation.cs
- CodeNamespaceImport.cs
- FullTextLine.cs
- SettingsPropertyWrongTypeException.cs
- Image.cs
- CodeNamespaceImportCollection.cs
- _Connection.cs
- DeferredReference.cs
- DrawingBrush.cs
- ArithmeticException.cs
- VerticalAlignConverter.cs
- CharacterBufferReference.cs
- WebHeaderCollection.cs
- StatusBarPanelClickEvent.cs
- Walker.cs
- OptimalTextSource.cs
- TriggerActionCollection.cs
- ToolStripRenderer.cs
- DeviceFiltersSection.cs
- Permission.cs
- SQLStringStorage.cs
- XmlCharCheckingReader.cs
- PropagatorResult.cs
- QuaternionAnimationUsingKeyFrames.cs
- DataObject.cs
- TextRangeSerialization.cs
- NonClientArea.cs
- PageBuildProvider.cs
- SecurityTokenValidationException.cs
- Tuple.cs
- CodeAttributeArgument.cs
- ZoneIdentityPermission.cs
- OleDbCommandBuilder.cs
- ScalarConstant.cs
- XmlAnyElementAttribute.cs
- SQLDateTimeStorage.cs
- XmlObjectSerializerReadContextComplex.cs
- DependencyPropertyDescriptor.cs
- ComplexObject.cs
- ListMarkerLine.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- UnsafeNativeMethodsPenimc.cs
- InternalControlCollection.cs
- DetectEofStream.cs
- WhitespaceRule.cs
- ISAPIRuntime.cs
- DateRangeEvent.cs
- SubMenuStyleCollection.cs
- DocumentReference.cs
- SqlVisitor.cs
- Stacktrace.cs
- FaultFormatter.cs
- CompilerGeneratedAttribute.cs
- Roles.cs
- VectorAnimation.cs
- LinqDataSourceContextEventArgs.cs
- TableColumn.cs
- Point3D.cs
- ContentElementAutomationPeer.cs
- ResXFileRef.cs
- EnvironmentPermission.cs
- XmlMemberMapping.cs
- WebZone.cs
- IPEndPointCollection.cs
- FactoryGenerator.cs
- AttributeTableBuilder.cs
- AssemblyCollection.cs
- RoleManagerEventArgs.cs
- assertwrapper.cs
- SocketInformation.cs
- SeekableReadStream.cs
- RegistryConfigurationProvider.cs
- TableLayout.cs
- CalendarButton.cs
- EntityDataSourceColumn.cs
- UIServiceHelper.cs
- PersistNameAttribute.cs
- ControlBuilder.cs
- ProgressBar.cs
- UnmanagedMarshal.cs
- GZipStream.cs
- DriveNotFoundException.cs
- EnvironmentPermission.cs
- RegexTree.cs
- SqlUDTStorage.cs
- FrameworkElementFactoryMarkupObject.cs
- EdmMember.cs
- NotFiniteNumberException.cs
- ProcessHostConfigUtils.cs
- UnsafeNativeMethods.cs