Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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. //------------------------------------------------------------------------------ //// 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
- ArgumentValueSerializer.cs
- BinHexDecoder.cs
- wmiutil.cs
- CodeSnippetCompileUnit.cs
- SerializationSectionGroup.cs
- BitmapEffectRenderDataResource.cs
- ReflectionUtil.cs
- GlyphRun.cs
- SapiInterop.cs
- Registry.cs
- IListConverters.cs
- ClrPerspective.cs
- SmiRequestExecutor.cs
- ServiceOperation.cs
- TargetParameterCountException.cs
- BuildResultCache.cs
- HtmlLabelAdapter.cs
- OutKeywords.cs
- ArgumentsParser.cs
- ExceptionUtil.cs
- WriteFileContext.cs
- dataprotectionpermissionattribute.cs
- UnmanagedBitmapWrapper.cs
- XPathEmptyIterator.cs
- Win32Native.cs
- DbConnectionPoolGroupProviderInfo.cs
- PolicyImporterElement.cs
- RuntimeArgumentHandle.cs
- OutOfProcStateClientManager.cs
- TextBox.cs
- Publisher.cs
- Constant.cs
- ListControlActionList.cs
- FormViewRow.cs
- MediaElement.cs
- CustomValidator.cs
- WebRequestModulesSection.cs
- XmlSchemaAttributeGroup.cs
- PathTooLongException.cs
- Int32.cs
- OrderedDictionaryStateHelper.cs
- PanelStyle.cs
- AudioStateChangedEventArgs.cs
- ITextView.cs
- PartialClassGenerationTaskInternal.cs
- Wizard.cs
- XmlBinaryReaderSession.cs
- IconConverter.cs
- PolygonHotSpot.cs
- InputDevice.cs
- XmlSchemaObjectCollection.cs
- DataGridHeaderBorder.cs
- PointLightBase.cs
- RegistrationServices.cs
- SystemInformation.cs
- SettingsSection.cs
- ParameterExpression.cs
- RecognitionResult.cs
- TargetControlTypeCache.cs
- RoleService.cs
- BatchWriter.cs
- WebRequestModuleElementCollection.cs
- NativeMethods.cs
- CursorConverter.cs
- BitmapImage.cs
- Form.cs
- ReturnValue.cs
- SQLGuid.cs
- TypeSystemProvider.cs
- StringBuilder.cs
- UidPropertyAttribute.cs
- Typography.cs
- Condition.cs
- SmtpNetworkElement.cs
- TextParentUndoUnit.cs
- HasActivatableWorkflowEvent.cs
- LayoutTableCell.cs
- SrgsSemanticInterpretationTag.cs
- _ListenerResponseStream.cs
- ValidationVisibilityAttribute.cs
- PaintValueEventArgs.cs
- HttpCacheVary.cs
- Intellisense.cs
- ChannelServices.cs
- BigInt.cs
- RawMouseInputReport.cs
- BindingNavigator.cs
- SecurityValidationBehavior.cs
- Activator.cs
- RecordManager.cs
- QilIterator.cs
- WindowsTooltip.cs
- ModifierKeysConverter.cs
- C14NUtil.cs
- _TimerThread.cs
- AutoGeneratedFieldProperties.cs
- BitStack.cs
- WasEndpointConfigContainer.cs
- NamespaceMapping.cs
- ChangeToolStripParentVerb.cs