Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / System / Configuration / ConfigXmlElement.cs / 1 / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MaskDescriptors.cs
- VisualBrush.cs
- UnsafeNativeMethods.cs
- Command.cs
- EncoderExceptionFallback.cs
- ToolStripControlHost.cs
- PropertyIDSet.cs
- DictionaryEntry.cs
- formatter.cs
- SelectedDatesCollection.cs
- RestHandlerFactory.cs
- ImageListUtils.cs
- AuthorizationRule.cs
- FixedPageAutomationPeer.cs
- DataServicePagingProviderWrapper.cs
- ValidationPropertyAttribute.cs
- FacetDescription.cs
- StylusTip.cs
- RotationValidation.cs
- Bitmap.cs
- Events.cs
- ElementMarkupObject.cs
- GridViewRowEventArgs.cs
- SoapAttributes.cs
- CompositeActivityValidator.cs
- LocationSectionRecord.cs
- Trace.cs
- CombinedGeometry.cs
- MetricEntry.cs
- KnownTypeHelper.cs
- CodeAttachEventStatement.cs
- CacheVirtualItemsEvent.cs
- GridViewHeaderRowPresenter.cs
- ConstraintConverter.cs
- WebException.cs
- TextBoxLine.cs
- NotifyIcon.cs
- VariableExpressionConverter.cs
- StylusOverProperty.cs
- QuaternionIndependentAnimationStorage.cs
- Cursors.cs
- SqlCacheDependencySection.cs
- XPathSelfQuery.cs
- MenuCommand.cs
- PagePropertiesChangingEventArgs.cs
- XamlWriter.cs
- DbConnectionHelper.cs
- BamlRecords.cs
- OutputBuffer.cs
- QuotedPrintableStream.cs
- EntityDataSourceContainerNameConverter.cs
- LongTypeConverter.cs
- InputScopeNameConverter.cs
- PartBasedPackageProperties.cs
- XmlValidatingReaderImpl.cs
- webeventbuffer.cs
- DecoderFallbackWithFailureFlag.cs
- InvalidPropValue.cs
- BuildResultCache.cs
- NameTable.cs
- RenderDataDrawingContext.cs
- smtpconnection.cs
- XmlDataProvider.cs
- RightsManagementEncryptionTransform.cs
- WebHttpElement.cs
- Frame.cs
- PageParser.cs
- TabControlToolboxItem.cs
- SmiEventSink.cs
- HScrollProperties.cs
- Missing.cs
- BaseInfoTable.cs
- _NTAuthentication.cs
- DataStorage.cs
- FontStyleConverter.cs
- ImageClickEventArgs.cs
- AdjustableArrowCap.cs
- UnmanagedHandle.cs
- XmlResolver.cs
- LogEntryDeserializer.cs
- DataIdProcessor.cs
- VariantWrapper.cs
- DataBindingValueUIHandler.cs
- InvalidOperationException.cs
- FieldDescriptor.cs
- DynamicValueConverter.cs
- HMACSHA256.cs
- SourceFileBuildProvider.cs
- EventSetter.cs
- ToolStripTextBox.cs
- exports.cs
- TerminatorSinks.cs
- UnknownBitmapDecoder.cs
- XPathChildIterator.cs
- FileStream.cs
- Triplet.cs
- XmlHierarchicalEnumerable.cs
- TypeReference.cs
- BreakSafeBase.cs
- SqlInternalConnectionSmi.cs