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
- SqlClientMetaDataCollectionNames.cs
- RepeaterItemEventArgs.cs
- StrongNameIdentityPermission.cs
- LineServicesCallbacks.cs
- CodeArgumentReferenceExpression.cs
- DefaultProxySection.cs
- AssemblyCacheEntry.cs
- StrokeCollectionDefaultValueFactory.cs
- Lease.cs
- InvalidPropValue.cs
- AssemblyHelper.cs
- wgx_exports.cs
- DataGridCaption.cs
- AppDomainProtocolHandler.cs
- PeerSecurityHelpers.cs
- Point3DConverter.cs
- FontFamilyIdentifier.cs
- DefaultWorkflowTransactionService.cs
- RefreshPropertiesAttribute.cs
- CaseInsensitiveOrdinalStringComparer.cs
- BaseDataList.cs
- ToolStripRenderEventArgs.cs
- ItemCollection.cs
- Triangle.cs
- DrawingContextDrawingContextWalker.cs
- shaperfactory.cs
- WrappedKeySecurityToken.cs
- MarkupCompiler.cs
- COSERVERINFO.cs
- ExceptionValidationRule.cs
- IdentityNotMappedException.cs
- ListViewSortEventArgs.cs
- Listen.cs
- ReadOnlyPropertyMetadata.cs
- PageStatePersister.cs
- TreeViewCancelEvent.cs
- PreviewKeyDownEventArgs.cs
- ObjectDataSourceMethodEditor.cs
- ControlBuilderAttribute.cs
- ApplicationBuildProvider.cs
- CallContext.cs
- LocalizationComments.cs
- FamilyTypefaceCollection.cs
- BoundColumn.cs
- ServiceCredentialsSecurityTokenManager.cs
- MemoryResponseElement.cs
- SchemaNamespaceManager.cs
- PeerName.cs
- TabRenderer.cs
- ThemeableAttribute.cs
- CFStream.cs
- AQNBuilder.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DataDesignUtil.cs
- LinkedResource.cs
- PopupRootAutomationPeer.cs
- Processor.cs
- CounterCreationData.cs
- DataGridPagerStyle.cs
- FixedLineResult.cs
- PartitionedStreamMerger.cs
- ValuePatternIdentifiers.cs
- D3DImage.cs
- ItemMap.cs
- EdmToObjectNamespaceMap.cs
- RectangleHotSpot.cs
- DataGridViewIntLinkedList.cs
- CommandHelpers.cs
- Timer.cs
- WorkflowNamespace.cs
- XmlEncodedRawTextWriter.cs
- VirtualDirectoryMapping.cs
- Privilege.cs
- XmlEncodedRawTextWriter.cs
- WinFormsSpinner.cs
- CacheDependency.cs
- Panel.cs
- sqlmetadatafactory.cs
- CodePrimitiveExpression.cs
- KoreanLunisolarCalendar.cs
- CollectionViewGroupInternal.cs
- ClientSettingsProvider.cs
- AuthenticateEventArgs.cs
- MetadataUtilsSmi.cs
- Utils.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- SortableBindingList.cs
- ProfileManager.cs
- TypefaceMetricsCache.cs
- BoundPropertyEntry.cs
- KnownBoxes.cs
- RefType.cs
- SmtpNetworkElement.cs
- XmlSerializationReader.cs
- TypeSystem.cs
- ToolStripOverflowButton.cs
- ExclusiveNamedPipeTransportManager.cs
- SelectorAutomationPeer.cs
- LicFileLicenseProvider.cs
- Argument.cs