Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } // 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
- M3DUtil.cs
- Trigger.cs
- FixedBufferAttribute.cs
- WarningException.cs
- NotifyParentPropertyAttribute.cs
- GridViewCellAutomationPeer.cs
- SynchronizationFilter.cs
- WinEventWrap.cs
- UserPersonalizationStateInfo.cs
- NodeFunctions.cs
- ItemsControl.cs
- ServiceCredentialsSecurityTokenManager.cs
- BatchStream.cs
- ToolboxItemCollection.cs
- StatusBarPanel.cs
- SqlFunctions.cs
- TextEditor.cs
- ClientFormsAuthenticationCredentials.cs
- HtmlEncodedRawTextWriter.cs
- StyleXamlParser.cs
- QilStrConcatenator.cs
- XmlSchemaChoice.cs
- SQLBytesStorage.cs
- XamlInterfaces.cs
- GridViewSortEventArgs.cs
- RealProxy.cs
- PartitionResolver.cs
- XmlComment.cs
- DoubleLinkList.cs
- PrincipalPermission.cs
- Thumb.cs
- SchemaManager.cs
- Margins.cs
- XmlNamespaceMappingCollection.cs
- FileDialog_Vista.cs
- StylusTip.cs
- FixedPage.cs
- ConfigXmlWhitespace.cs
- FileIOPermission.cs
- XPathDocumentNavigator.cs
- ConfigViewGenerator.cs
- CodePageUtils.cs
- WorkflowEventArgs.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Parser.cs
- SByteStorage.cs
- AttributeEmitter.cs
- DocumentSequenceHighlightLayer.cs
- ListViewItem.cs
- SendActivityDesignerTheme.cs
- BufferBuilder.cs
- ObjectListCommandEventArgs.cs
- StylusSystemGestureEventArgs.cs
- EntityContainerRelationshipSetEnd.cs
- DeclaredTypeValidator.cs
- invalidudtexception.cs
- VerificationAttribute.cs
- ConfigurationSection.cs
- AmbientValueAttribute.cs
- QueryOperationResponseOfT.cs
- XpsImage.cs
- Grid.cs
- X509SubjectKeyIdentifierClause.cs
- MappingModelBuildProvider.cs
- UserInitiatedNavigationPermission.cs
- TreeView.cs
- ParallelEnumerable.cs
- SmtpReplyReaderFactory.cs
- ParallelTimeline.cs
- DbSourceCommand.cs
- Drawing.cs
- Dump.cs
- TemplateInstanceAttribute.cs
- BuildManagerHost.cs
- EntityDataSourceDataSelection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ListViewEditEventArgs.cs
- WebBrowserNavigatedEventHandler.cs
- CqlParser.cs
- UnitControl.cs
- CodeDomSerializationProvider.cs
- CommonDialog.cs
- DisplayClaim.cs
- DbProviderConfigurationHandler.cs
- Compilation.cs
- DoubleSumAggregationOperator.cs
- DescendentsWalker.cs
- TabPanel.cs
- GPPOINTF.cs
- AncillaryOps.cs
- TextEditorMouse.cs
- InternalDispatchObject.cs
- ExpressionPrefixAttribute.cs
- OpCopier.cs
- RequestResizeEvent.cs
- BoundsDrawingContextWalker.cs
- LoginDesignerUtil.cs
- RawKeyboardInputReport.cs
- TypeDescriptionProvider.cs
- HTTPNotFoundHandler.cs