Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / System / Configuration / ConfigXmlComment.cs / 1 / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EnumerableRowCollection.cs
- WebPartZone.cs
- GrammarBuilderDictation.cs
- ScriptManager.cs
- WebFaultException.cs
- SimpleFieldTemplateUserControl.cs
- BooleanStorage.cs
- TemplateContentLoader.cs
- CodeTryCatchFinallyStatement.cs
- ObjectReferenceStack.cs
- sqlpipe.cs
- XamlPathDataSerializer.cs
- COM2TypeInfoProcessor.cs
- MenuAdapter.cs
- EntitySqlQueryBuilder.cs
- MonthCalendar.cs
- MaskInputRejectedEventArgs.cs
- DotExpr.cs
- StructuralObject.cs
- RowVisual.cs
- Number.cs
- _HTTPDateParse.cs
- SafeUserTokenHandle.cs
- ListBoxChrome.cs
- DataGridTableCollection.cs
- ExclusiveHandle.cs
- ReadingWritingEntityEventArgs.cs
- OptimisticConcurrencyException.cs
- HttpFileCollection.cs
- MultipleViewPattern.cs
- AutomationElement.cs
- EdmMember.cs
- Condition.cs
- Main.cs
- MembershipPasswordException.cs
- AffineTransform3D.cs
- LicFileLicenseProvider.cs
- DataKey.cs
- FacetValueContainer.cs
- LifetimeServices.cs
- SamlSecurityTokenAuthenticator.cs
- TableItemPatternIdentifiers.cs
- XmlSchemaInclude.cs
- DesignConnection.cs
- InputLanguageProfileNotifySink.cs
- RuleSettingsCollection.cs
- DataServiceEntityAttribute.cs
- Baml6Assembly.cs
- ConfigPathUtility.cs
- FileDialog_Vista.cs
- KeyConstraint.cs
- UnsafeNativeMethodsPenimc.cs
- PipelineComponent.cs
- FormsAuthentication.cs
- AdornerPresentationContext.cs
- XmlDigitalSignatureProcessor.cs
- ProfileEventArgs.cs
- UnSafeCharBuffer.cs
- SafeRightsManagementPubHandle.cs
- unitconverter.cs
- Models.cs
- PackWebRequest.cs
- MultiBinding.cs
- ServiceReference.cs
- MenuAutomationPeer.cs
- MetaModel.cs
- DataList.cs
- AsymmetricKeyExchangeDeformatter.cs
- BaseValidator.cs
- TemplateBaseAction.cs
- XmlJsonReader.cs
- EncoderReplacementFallback.cs
- ListItemCollection.cs
- CodeDOMProvider.cs
- EmptyEnumerable.cs
- TextWriter.cs
- ClientSession.cs
- TypefaceMetricsCache.cs
- AttributeCollection.cs
- FrameworkElementFactory.cs
- FrameworkContentElement.cs
- QilName.cs
- PageAdapter.cs
- ResourcesBuildProvider.cs
- XamlInterfaces.cs
- InternalCompensate.cs
- ServicesUtilities.cs
- RijndaelManagedTransform.cs
- Substitution.cs
- VirtualizingStackPanel.cs
- MouseEvent.cs
- AssociationEndMember.cs
- XmlSerializableServices.cs
- SqlVersion.cs
- CodeEventReferenceExpression.cs
- DataBoundControlHelper.cs
- CommonRemoteMemoryBlock.cs
- ToggleButton.cs
- _LazyAsyncResult.cs
- SessionMode.cs