Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GatewayIPAddressInformationCollection.cs
- HtmlContainerControl.cs
- ExcCanonicalXml.cs
- XPathDocument.cs
- Pair.cs
- RadioButtonFlatAdapter.cs
- Unit.cs
- WebPart.cs
- SendSecurityHeader.cs
- XmlObjectSerializerReadContext.cs
- SqlWebEventProvider.cs
- ExpressionVisitor.cs
- ToolStripManager.cs
- DataReceivedEventArgs.cs
- IntranetCredentialPolicy.cs
- _CacheStreams.cs
- MissingFieldException.cs
- Rules.cs
- UIElementParagraph.cs
- AudienceUriMode.cs
- TypeBuilderInstantiation.cs
- WorkerRequest.cs
- TerminatorSinks.cs
- UserControl.cs
- MenuRenderer.cs
- ConstructorNeedsTagAttribute.cs
- QueryExecutionOption.cs
- ConfigsHelper.cs
- ImageMapEventArgs.cs
- XmlMessageFormatter.cs
- SqlIdentifier.cs
- x509utils.cs
- Soap12ProtocolImporter.cs
- clipboard.cs
- DockingAttribute.cs
- LogEntryHeaderv1Deserializer.cs
- RichTextBox.cs
- Rotation3DAnimationBase.cs
- ListViewInsertEventArgs.cs
- AnimationClock.cs
- EntityViewGenerator.cs
- CroppedBitmap.cs
- ConvertEvent.cs
- DriveInfo.cs
- ClientFormsIdentity.cs
- DelegatingHeader.cs
- RouteUrlExpressionBuilder.cs
- ArrayElementGridEntry.cs
- DetailsViewRowCollection.cs
- DefaultTextStore.cs
- XmlSchemaSimpleContentRestriction.cs
- ActivityExecutorOperation.cs
- MemoryStream.cs
- ReaderOutput.cs
- DataControlReferenceCollection.cs
- NetworkAddressChange.cs
- WebPartActionVerb.cs
- PropertyFilter.cs
- InputLanguageManager.cs
- DataBinding.cs
- EntityDataSourceEntitySetNameItem.cs
- AudioBase.cs
- FormClosingEvent.cs
- XmlSchemaIdentityConstraint.cs
- FontDialog.cs
- AssociatedControlConverter.cs
- ScriptReferenceBase.cs
- CssStyleCollection.cs
- WebDescriptionAttribute.cs
- TriggerCollection.cs
- ComponentDispatcherThread.cs
- XPathChildIterator.cs
- EditingCommands.cs
- BamlRecordReader.cs
- ContainerParaClient.cs
- StringUtil.cs
- WindowsSlider.cs
- LineMetrics.cs
- RequestCachePolicy.cs
- VisualStyleInformation.cs
- LinkConverter.cs
- DropShadowEffect.cs
- TextRangeBase.cs
- ObjectStateEntry.cs
- BinaryUtilClasses.cs
- EndOfStreamException.cs
- PenLineJoinValidation.cs
- SchemaImporterExtensionElement.cs
- RequestUriProcessor.cs
- TextRunProperties.cs
- SqlRowUpdatingEvent.cs
- Point4DConverter.cs
- SchemaElementLookUpTable.cs
- RoutedUICommand.cs
- PlainXmlDeserializer.cs
- XmlDictionaryReaderQuotas.cs
- WorkflowDebuggerSteppingAttribute.cs
- AddInEnvironment.cs
- ExpressionBinding.cs
- RSAOAEPKeyExchangeDeformatter.cs