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
- XmlSchemaCollection.cs
- FileDialogCustomPlacesCollection.cs
- ConditionValidator.cs
- MemberMaps.cs
- CodeCompiler.cs
- TextStore.cs
- PopupEventArgs.cs
- RealProxy.cs
- HeaderCollection.cs
- EntityStoreSchemaGenerator.cs
- DtcInterfaces.cs
- CompilationLock.cs
- UrlAuthorizationModule.cs
- FloatUtil.cs
- RequestNavigateEventArgs.cs
- DllNotFoundException.cs
- TypedTableBase.cs
- LoadWorkflowByInstanceKeyCommand.cs
- FileIOPermission.cs
- SystemMulticastIPAddressInformation.cs
- Certificate.cs
- Pkcs7Signer.cs
- IssuedSecurityTokenProvider.cs
- cache.cs
- XamlStackWriter.cs
- RoutingSection.cs
- DispatcherEventArgs.cs
- SelectionRangeConverter.cs
- ReachDocumentSequenceSerializerAsync.cs
- SqlInternalConnection.cs
- MergeFilterQuery.cs
- _ConnectOverlappedAsyncResult.cs
- EventProxy.cs
- ViewEventArgs.cs
- PageAsyncTask.cs
- DataGridState.cs
- WindowsSolidBrush.cs
- QuestionEventArgs.cs
- WaitForChangedResult.cs
- XslException.cs
- CharacterMetrics.cs
- GridViewHeaderRowPresenter.cs
- SspiNegotiationTokenProviderState.cs
- DispatcherProcessingDisabled.cs
- CustomErrorCollection.cs
- Graphics.cs
- Convert.cs
- ToolStripItemImageRenderEventArgs.cs
- DataGridViewCheckBoxColumn.cs
- Assert.cs
- MessagingActivityHelper.cs
- SessionPageStatePersister.cs
- Size.cs
- PageContent.cs
- CaretElement.cs
- SchemaAttDef.cs
- InvalidAsynchronousStateException.cs
- ImageIndexEditor.cs
- GlobalizationAssembly.cs
- GeneralTransform2DTo3D.cs
- ConfigurationElementProperty.cs
- ObjectConverter.cs
- HtmlInputPassword.cs
- FacetDescriptionElement.cs
- XPathEmptyIterator.cs
- SqlDependency.cs
- PixelFormats.cs
- CompilerScopeManager.cs
- Translator.cs
- ResourceExpressionEditor.cs
- DateTimeOffsetAdapter.cs
- ElementAtQueryOperator.cs
- ComEventsHelper.cs
- CodeDomComponentSerializationService.cs
- XmlComplianceUtil.cs
- ProcessThreadCollection.cs
- InputQueue.cs
- EntityParameter.cs
- XmlSortKey.cs
- EditorZone.cs
- DataServiceBuildProvider.cs
- Pair.cs
- _NestedSingleAsyncResult.cs
- InputEventArgs.cs
- GridViewPageEventArgs.cs
- CodeSnippetTypeMember.cs
- XsltSettings.cs
- FontFamilyConverter.cs
- WebControlsSection.cs
- PeerUnsafeNativeCryptMethods.cs
- FixedSOMElement.cs
- SystemUnicastIPAddressInformation.cs
- FormViewDeleteEventArgs.cs
- XmlAttributeAttribute.cs
- UInt16Converter.cs
- SharedPersonalizationStateInfo.cs
- RadioButtonRenderer.cs
- UInt64.cs
- ExchangeUtilities.cs
- RegistrySecurity.cs