Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlElement.cs / 1305376 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- CodeSnippetStatement.cs
- HitTestParameters3D.cs
- PageFunction.cs
- ColorConvertedBitmap.cs
- MruCache.cs
- DurationConverter.cs
- HierarchicalDataBoundControl.cs
- SymDocumentType.cs
- StoryFragments.cs
- DataGridTable.cs
- SchemaElement.cs
- TypeUtil.cs
- ClrPerspective.cs
- HtmlSelect.cs
- DropShadowBitmapEffect.cs
- ITextView.cs
- SQLConvert.cs
- SystemWebCachingSectionGroup.cs
- XmlEventCache.cs
- StorageConditionPropertyMapping.cs
- EraserBehavior.cs
- DefaultDiscoveryService.cs
- ProtocolElement.cs
- GlobalAllocSafeHandle.cs
- ButtonBase.cs
- ConfigXmlElement.cs
- NamespaceInfo.cs
- ListViewItemEventArgs.cs
- TextTrailingWordEllipsis.cs
- GZipDecoder.cs
- FieldToken.cs
- HttpBrowserCapabilitiesBase.cs
- ProtocolsConfigurationEntry.cs
- SqlClientMetaDataCollectionNames.cs
- MarkupExtensionParser.cs
- X509ChainElement.cs
- TypeElement.cs
- dsa.cs
- DataGridViewTopLeftHeaderCell.cs
- CacheModeValueSerializer.cs
- TagNameToTypeMapper.cs
- ReadOnlyHierarchicalDataSource.cs
- DtrList.cs
- Vector3DAnimationBase.cs
- RawTextInputReport.cs
- MetabaseSettings.cs
- DataGridViewAddColumnDialog.cs
- ProviderCommandInfoUtils.cs
- EncryptedType.cs
- UpdatePanelControlTrigger.cs
- Label.cs
- SymmetricKeyWrap.cs
- HttpCachePolicyElement.cs
- ConnectionStringsExpressionBuilder.cs
- ImageCodecInfoPrivate.cs
- XmlAggregates.cs
- QueryRewriter.cs
- UrlMappingsModule.cs
- CharacterMetricsDictionary.cs
- SystemIcmpV6Statistics.cs
- MimeObjectFactory.cs
- XsdDuration.cs
- ToolboxItemFilterAttribute.cs
- ResourceLoader.cs
- AffineTransform3D.cs
- StringDictionary.cs
- SelectionService.cs
- RichTextBoxDesigner.cs
- DLinqColumnProvider.cs
- SafeMILHandle.cs
- StickyNoteHelper.cs
- InteropAutomationProvider.cs
- XmlSchemaProviderAttribute.cs
- OdbcError.cs
- MethodImplAttribute.cs
- OpCodes.cs
- SuppressIldasmAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ResourceProviderFactory.cs
- SequenceFullException.cs
- DBParameter.cs
- CompilerInfo.cs
- _DisconnectOverlappedAsyncResult.cs
- PropertyGroupDescription.cs
- ProgressBarAutomationPeer.cs
- BaseTemplateBuildProvider.cs
- PasswordTextContainer.cs
- DataPagerFieldCommandEventArgs.cs
- WeakReference.cs
- XPathBuilder.cs
- FrameworkElement.cs
- PaperSize.cs
- AutomationIdentifier.cs
- EtwTrace.cs
- PlacementWorkspace.cs
- PolicyStatement.cs
- ProfileSection.cs
- CompiledQuery.cs
- PropertyInformation.cs