Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1305376 / ConfigXmlComment.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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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
- Int32Converter.cs
- PrintPreviewGraphics.cs
- SecurityElement.cs
- ManagementObjectSearcher.cs
- SynchronizedInputHelper.cs
- BamlBinaryWriter.cs
- OutputCacheProfile.cs
- BitmapData.cs
- HttpPostedFileWrapper.cs
- ListBox.cs
- DataListDesigner.cs
- UnsafeNativeMethodsCLR.cs
- WebPartDescriptionCollection.cs
- StateMachineWorkflow.cs
- Property.cs
- ColumnReorderedEventArgs.cs
- PrimaryKeyTypeConverter.cs
- ItemMap.cs
- VirtualPath.cs
- OciLobLocator.cs
- Trace.cs
- SQLMoneyStorage.cs
- MailMessage.cs
- AuthorizationBehavior.cs
- Image.cs
- CompilerError.cs
- CommandTreeTypeHelper.cs
- Type.cs
- Assembly.cs
- HttpException.cs
- ExpandCollapseProviderWrapper.cs
- TagPrefixAttribute.cs
- Membership.cs
- Menu.cs
- StreamWriter.cs
- NetworkInterface.cs
- AbandonedMutexException.cs
- BamlRecordWriter.cs
- RowParagraph.cs
- FacetChecker.cs
- NameObjectCollectionBase.cs
- ImageProxy.cs
- MetadataProperty.cs
- TableCell.cs
- TextRunCache.cs
- CodeDefaultValueExpression.cs
- DataServiceRequest.cs
- RefreshResponseInfo.cs
- DomainConstraint.cs
- RegistryKey.cs
- indexingfiltermarshaler.cs
- TransformPatternIdentifiers.cs
- ObjectDataSourceFilteringEventArgs.cs
- IODescriptionAttribute.cs
- HttpChannelHelper.cs
- ServerProtocol.cs
- FontStyleConverter.cs
- ListViewItem.cs
- SymbolType.cs
- ErasingStroke.cs
- SiteMapProvider.cs
- NullableLongAverageAggregationOperator.cs
- TerminatorSinks.cs
- GlyphRun.cs
- FormViewDeleteEventArgs.cs
- RegexFCD.cs
- RepeatButtonAutomationPeer.cs
- XPathChildIterator.cs
- ScriptServiceAttribute.cs
- Substitution.cs
- DetailsViewInsertedEventArgs.cs
- ScriptControlDescriptor.cs
- FilterableAttribute.cs
- HttpCacheVaryByContentEncodings.cs
- Main.cs
- ConfigurationElement.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- DataGridCellsPanel.cs
- StreamAsIStream.cs
- SchemaImporterExtensionElementCollection.cs
- SiteMapProvider.cs
- XmlWriter.cs
- ToolStripRenderEventArgs.cs
- FactoryRecord.cs
- ProjectionCamera.cs
- GeometryCollection.cs
- BindingList.cs
- QueryMatcher.cs
- RemotingException.cs
- PopupRootAutomationPeer.cs
- DynamicControl.cs
- ArgumentNullException.cs
- OutputCacheSection.cs
- CommandBinding.cs
- HttpHandlerAction.cs
- AssociationProvider.cs
- CacheRequest.cs
- CmsInterop.cs
- OracleRowUpdatedEventArgs.cs
- Metafile.cs