Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- DataControlCommands.cs
- AnimatedTypeHelpers.cs
- ResourceCodeDomSerializer.cs
- BooleanExpr.cs
- MeshGeometry3D.cs
- NamespaceDecl.cs
- XmlSchemaAll.cs
- DelegateBodyWriter.cs
- ListViewCommandEventArgs.cs
- BuildResult.cs
- TypeDescriptorContext.cs
- ContextMenuService.cs
- FileRecordSequenceHelper.cs
- CookielessData.cs
- DataServiceResponse.cs
- mediaclock.cs
- TreeNodeStyleCollection.cs
- DeferredTextReference.cs
- CompilerCollection.cs
- Int16.cs
- WriteTimeStream.cs
- PublishLicense.cs
- ScrollContentPresenter.cs
- BackgroundFormatInfo.cs
- Translator.cs
- ColumnResizeUndoUnit.cs
- DataSetViewSchema.cs
- MailMessage.cs
- RawStylusActions.cs
- ConfigXmlWhitespace.cs
- EllipseGeometry.cs
- Border.cs
- Win32SafeHandles.cs
- CellIdBoolean.cs
- DataConnectionHelper.cs
- Stack.cs
- EntityTransaction.cs
- SqlTypeConverter.cs
- SynchronizationLockException.cs
- _TLSstream.cs
- CharEnumerator.cs
- ImageButton.cs
- ResponseStream.cs
- InternalConfigHost.cs
- PrimitiveXmlSerializers.cs
- SchemaAttDef.cs
- UserNamePasswordValidationMode.cs
- UniqueConstraint.cs
- FormatException.cs
- UnsafeNativeMethods.cs
- Helpers.cs
- CompilerWrapper.cs
- LayoutManager.cs
- ScrollData.cs
- CqlIdentifiers.cs
- DataContractSet.cs
- HtmlInputButton.cs
- DataGridColumnCollection.cs
- TraceSwitch.cs
- CompilerGeneratedAttribute.cs
- TextEndOfSegment.cs
- ImportedPolicyConversionContext.cs
- HttpCookie.cs
- Point3DAnimationUsingKeyFrames.cs
- TemplateEditingFrame.cs
- _NestedSingleAsyncResult.cs
- MergablePropertyAttribute.cs
- PointConverter.cs
- HttpCachePolicyElement.cs
- GenericTextProperties.cs
- OleDbPropertySetGuid.cs
- ProcessHostServerConfig.cs
- SemanticResolver.cs
- RuntimeWrappedException.cs
- Point3DConverter.cs
- DataColumnPropertyDescriptor.cs
- FactoryMaker.cs
- VirtualPathUtility.cs
- HorizontalAlignConverter.cs
- SrgsText.cs
- InheritanceContextHelper.cs
- DataServiceKeyAttribute.cs
- FileLevelControlBuilderAttribute.cs
- MetadataItem.cs
- DoWhileDesigner.xaml.cs
- XmlC14NWriter.cs
- CodeTypeMember.cs
- Unit.cs
- BindingListCollectionView.cs
- NegotiateStream.cs
- EmptyQuery.cs
- SystemResourceKey.cs
- AssemblyAttributesGoHere.cs
- SqlTriggerContext.cs
- NotSupportedException.cs
- QilVisitor.cs
- PasswordValidationException.cs
- DetailsViewInsertedEventArgs.cs
- InputScopeAttribute.cs
- HtmlTableRowCollection.cs