Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ParameterCollection.cs
- HexParser.cs
- TextLine.cs
- CodeGeneratorAttribute.cs
- ClientSponsor.cs
- RtfNavigator.cs
- Icon.cs
- IdleTimeoutMonitor.cs
- FixUp.cs
- Canvas.cs
- WebCategoryAttribute.cs
- Encoding.cs
- AdornerDecorator.cs
- MailWriter.cs
- Symbol.cs
- TextParagraphCache.cs
- WindowPattern.cs
- ActionMismatchAddressingException.cs
- KeySpline.cs
- LightweightCodeGenerator.cs
- selecteditemcollection.cs
- RtfToXamlReader.cs
- ResourceManager.cs
- Material.cs
- EdmSchemaAttribute.cs
- ButtonChrome.cs
- HttpHandler.cs
- OracleRowUpdatedEventArgs.cs
- UInt64.cs
- SelectorAutomationPeer.cs
- OracleInfoMessageEventArgs.cs
- URL.cs
- LinqDataSourceDeleteEventArgs.cs
- TableItemPattern.cs
- SerialReceived.cs
- DataObject.cs
- XmlStreamedByteStreamReader.cs
- ServerValidateEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- OperationCanceledException.cs
- AxisAngleRotation3D.cs
- XmlEntityReference.cs
- SoapDocumentMethodAttribute.cs
- XamlGridLengthSerializer.cs
- Color.cs
- HuffModule.cs
- Rotation3D.cs
- TextStore.cs
- HyperLinkField.cs
- Int64.cs
- DetailsViewDeleteEventArgs.cs
- EarlyBoundInfo.cs
- TCPClient.cs
- IQueryable.cs
- TreeNode.cs
- EntityCommandDefinition.cs
- ToolStripDropDownItem.cs
- WebBrowsableAttribute.cs
- DragDrop.cs
- ContextQuery.cs
- RelationshipSet.cs
- DotAtomReader.cs
- StatusBarItemAutomationPeer.cs
- TypeSystemProvider.cs
- Delay.cs
- ReflectTypeDescriptionProvider.cs
- DefaultHttpHandler.cs
- NotFiniteNumberException.cs
- AmbientProperties.cs
- querybuilder.cs
- GPRECTF.cs
- ConnectionManagementElement.cs
- TypeElement.cs
- MappingMetadataHelper.cs
- DataGridViewRowCancelEventArgs.cs
- ColorTranslator.cs
- DescendentsWalkerBase.cs
- RepeaterItemCollection.cs
- DialogResultConverter.cs
- DrawingImage.cs
- FrameworkPropertyMetadata.cs
- CompilationSection.cs
- PersonalizationStateInfo.cs
- SqlVisitor.cs
- RuleElement.cs
- AssertUtility.cs
- PersonalizationEntry.cs
- FileIOPermission.cs
- ColumnResizeAdorner.cs
- RelationalExpressions.cs
- Configuration.cs
- UnauthorizedWebPart.cs
- FileFormatException.cs
- WebPartActionVerb.cs
- ListControl.cs
- KnownTypes.cs
- WindowsListViewItemStartMenu.cs
- BordersPage.cs
- DelayLoadType.cs
- XmlWrappingReader.cs