Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } // 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
- SqlBulkCopyColumnMappingCollection.cs
- StatementContext.cs
- __Filters.cs
- ReachUIElementCollectionSerializerAsync.cs
- FirstMatchCodeGroup.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- BamlRecords.cs
- WindowsClaimSet.cs
- DataGridViewRowPrePaintEventArgs.cs
- KeyValueInternalCollection.cs
- EditorPartDesigner.cs
- StylusPlugin.cs
- ControlDesigner.cs
- MatrixTransform.cs
- FixedTextContainer.cs
- XslCompiledTransform.cs
- XmlValueConverter.cs
- ListControlActionList.cs
- TextTrailingCharacterEllipsis.cs
- LinqDataSourceDisposeEventArgs.cs
- GlobalizationAssembly.cs
- JoinSymbol.cs
- TraceRecord.cs
- ClassicBorderDecorator.cs
- SqlProviderServices.cs
- TemplateManager.cs
- ToolStripComboBox.cs
- CaseCqlBlock.cs
- CustomWebEventKey.cs
- CalloutQueueItem.cs
- ETagAttribute.cs
- DataGridViewButtonCell.cs
- SmtpDigestAuthenticationModule.cs
- QuaternionRotation3D.cs
- SmiRecordBuffer.cs
- HostExecutionContextManager.cs
- GenericPrincipal.cs
- WindowsClientElement.cs
- MaskInputRejectedEventArgs.cs
- SqlStatistics.cs
- CustomAttribute.cs
- DoubleLink.cs
- BamlTreeNode.cs
- SiteOfOriginPart.cs
- PartialTrustVisibleAssembly.cs
- CodeAccessPermission.cs
- KoreanLunisolarCalendar.cs
- WrapperEqualityComparer.cs
- UnmanagedBitmapWrapper.cs
- TableLayoutRowStyleCollection.cs
- Point4D.cs
- SkinBuilder.cs
- SchemaImporterExtension.cs
- HtmlInputButton.cs
- ZipIOBlockManager.cs
- BoolExpression.cs
- FixedSOMPage.cs
- mda.cs
- HttpRuntimeSection.cs
- BuildProvider.cs
- EventLogPermissionEntryCollection.cs
- HttpProfileBase.cs
- CompoundFileIOPermission.cs
- RsaSecurityToken.cs
- ApplicationDirectory.cs
- StateWorkerRequest.cs
- RegistryKey.cs
- SharedConnectionInfo.cs
- SubclassTypeValidatorAttribute.cs
- TreeNodeEventArgs.cs
- Bezier.cs
- TransportContext.cs
- HeaderLabel.cs
- PerformanceCounterManager.cs
- AsyncSerializedWorker.cs
- FileStream.cs
- CacheForPrimitiveTypes.cs
- Tokenizer.cs
- SafeFileHandle.cs
- ArraySubsetEnumerator.cs
- MonthCalendar.cs
- MenuItemBindingCollection.cs
- CodeTryCatchFinallyStatement.cs
- SqlDataSourceEnumerator.cs
- SuppressedPackageProperties.cs
- XmlSignatureProperties.cs
- MissingFieldException.cs
- DataTablePropertyDescriptor.cs
- DrawingContextDrawingContextWalker.cs
- XmlWriterTraceListener.cs
- PolyBezierSegment.cs
- DesignerObjectListAdapter.cs
- WebPartEditorCancelVerb.cs
- UnionExpr.cs
- InputProviderSite.cs
- Constraint.cs
- ChtmlImageAdapter.cs
- RightsDocument.cs
- XhtmlConformanceSection.cs
- ToolboxItemCollection.cs