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
- StateManager.cs
- LambdaCompiler.cs
- EntityContainerEmitter.cs
- List.cs
- RadioButtonPopupAdapter.cs
- QilName.cs
- SafeLibraryHandle.cs
- OracleLob.cs
- FullTextLine.cs
- LabelDesigner.cs
- TextView.cs
- WindowsFormsSectionHandler.cs
- ImageMap.cs
- WindowInteropHelper.cs
- ObfuscationAttribute.cs
- CodeNamespaceImport.cs
- HttpConfigurationContext.cs
- CommonGetThemePartSize.cs
- Point3DAnimationUsingKeyFrames.cs
- SqlErrorCollection.cs
- InstalledFontCollection.cs
- XmlSerializationGeneratedCode.cs
- Win32SafeHandles.cs
- InvokeMemberBinder.cs
- RepeatBehaviorConverter.cs
- SplitterCancelEvent.cs
- XMLDiffLoader.cs
- TranslateTransform3D.cs
- ObservableDictionary.cs
- BevelBitmapEffect.cs
- TagPrefixCollection.cs
- MappedMetaModel.cs
- RouteItem.cs
- PropertyFilter.cs
- Visitors.cs
- SendActivityDesignerTheme.cs
- UserUseLicenseDictionaryLoader.cs
- ActionItem.cs
- XsdValidatingReader.cs
- ValueSerializerAttribute.cs
- OperationResponse.cs
- Unit.cs
- TextViewSelectionProcessor.cs
- ConfigurationStrings.cs
- WebPartAddingEventArgs.cs
- StringReader.cs
- Version.cs
- EntityViewContainer.cs
- WebDisplayNameAttribute.cs
- XmlSchemaAppInfo.cs
- Visitor.cs
- Calendar.cs
- WorkflowQueuingService.cs
- ScrollContentPresenter.cs
- _AutoWebProxyScriptEngine.cs
- Interlocked.cs
- PropertyExpression.cs
- XmlAttribute.cs
- TransactionManagerProxy.cs
- TextSelectionHelper.cs
- Int32RectConverter.cs
- ConnectionInterfaceCollection.cs
- GeneralTransform3D.cs
- GcSettings.cs
- EntityDesignerBuildProvider.cs
- OdbcConnectionString.cs
- CookieHandler.cs
- SoapFault.cs
- AuthenticationSection.cs
- UpdateRecord.cs
- EntityConnectionStringBuilder.cs
- StartFileNameEditor.cs
- GestureRecognizer.cs
- nulltextcontainer.cs
- DesignerSerializerAttribute.cs
- SettingsPropertyValue.cs
- HostingEnvironmentException.cs
- BuildResultCache.cs
- AuthenticationConfig.cs
- DataGridViewRowsRemovedEventArgs.cs
- ListItemCollection.cs
- CapabilitiesPattern.cs
- Color.cs
- BindingBase.cs
- SecurityTokenProviderContainer.cs
- XmlTextEncoder.cs
- SafeRightsManagementPubHandle.cs
- RootBuilder.cs
- unsafenativemethodstextservices.cs
- CodeStatementCollection.cs
- EntityReference.cs
- DbParameterHelper.cs
- WebPartZoneCollection.cs
- TemplateControlBuildProvider.cs
- ProfileManager.cs
- ReverseInheritProperty.cs
- ResourceProviderFactory.cs
- COM2FontConverter.cs
- wpf-etw.cs
- Pointer.cs