Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AppDomainAttributes.cs
- ExternalDataExchangeService.cs
- AndCondition.cs
- FocusChangedEventArgs.cs
- COM2EnumConverter.cs
- CellPartitioner.cs
- PanelStyle.cs
- XmlElementElement.cs
- PropertyPathWorker.cs
- ClientEndpointLoader.cs
- SecurityCredentialsManager.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- GlobalProxySelection.cs
- AccessibilityHelperForXpWin2k3.cs
- Internal.cs
- StringSorter.cs
- XmlElement.cs
- ConstantExpression.cs
- HttpWebRequestElement.cs
- ColorConvertedBitmapExtension.cs
- TdsParserHelperClasses.cs
- DecoderFallback.cs
- Button.cs
- ParameterSubsegment.cs
- PreservationFileReader.cs
- SecurityRuntime.cs
- ExplicitDiscriminatorMap.cs
- ReferenceConverter.cs
- CounterCreationDataCollection.cs
- SymbolPair.cs
- PropertyStore.cs
- ConstraintStruct.cs
- DebuggerAttributes.cs
- M3DUtil.cs
- PointLightBase.cs
- cookieexception.cs
- NativeMethods.cs
- EventHandlersStore.cs
- PackUriHelper.cs
- AutomationPatternInfo.cs
- PngBitmapEncoder.cs
- Events.cs
- MultitargetUtil.cs
- DataBinder.cs
- StorageSetMapping.cs
- sqlinternaltransaction.cs
- WebErrorHandler.cs
- CloudCollection.cs
- BlurEffect.cs
- HttpListenerContext.cs
- RsaKeyIdentifierClause.cs
- ConfigurationValidatorAttribute.cs
- Int32CollectionValueSerializer.cs
- DesignerFrame.cs
- AlignmentXValidation.cs
- MachineKeyValidationConverter.cs
- ToolStrip.cs
- RelatedCurrencyManager.cs
- EraserBehavior.cs
- PackagingUtilities.cs
- WebPartMinimizeVerb.cs
- CollectionDataContractAttribute.cs
- TransactionsSectionGroup.cs
- ToolStripOverflowButton.cs
- EventlogProvider.cs
- MenuCommands.cs
- SQLDateTimeStorage.cs
- RuntimeHelpers.cs
- RewritingPass.cs
- ClockController.cs
- AnnotationAdorner.cs
- CommonXSendMessage.cs
- ExpressionVisitorHelpers.cs
- XmlRawWriter.cs
- ToolStripDropDownMenu.cs
- Token.cs
- SystemIPGlobalProperties.cs
- wgx_render.cs
- DbExpressionVisitor_TResultType.cs
- Span.cs
- HostProtectionPermission.cs
- ValidatorCollection.cs
- PreviewControlDesigner.cs
- TemplateBindingExpressionConverter.cs
- BaseAutoFormat.cs
- SortDescription.cs
- ToolStripItemClickedEventArgs.cs
- EntityDataSourceReferenceGroup.cs
- CodeCastExpression.cs
- LockCookie.cs
- IconHelper.cs
- RelOps.cs
- XhtmlBasicValidationSummaryAdapter.cs
- webclient.cs
- FrameworkContextData.cs
- XmlResolver.cs
- RuleSetDialog.Designer.cs
- NavigationEventArgs.cs
- figurelengthconverter.cs
- TrustLevel.cs