Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilReference.cs / 1 / QilReference.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil node which is the target of a reference (functions, variables, parameters). /// internal class QilReference : QilNode { // Names longer than 1023 characters cause AV in cscompee.dll, see VSWhidbey 485526 private const int MaxDebugNameLength = 1023; private string debugName; //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct a reference /// public QilReference(QilNodeType nodeType) : base(nodeType) { } //----------------------------------------------- // QilReference methods //----------------------------------------------- ////// Name of this reference, preserved for debugging (may be null). /// public string DebugName { get { return this.debugName; } set { if (value.Length > MaxDebugNameLength) value = value.Substring(0, MaxDebugNameLength); this.debugName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil node which is the target of a reference (functions, variables, parameters). /// internal class QilReference : QilNode { // Names longer than 1023 characters cause AV in cscompee.dll, see VSWhidbey 485526 private const int MaxDebugNameLength = 1023; private string debugName; //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct a reference /// public QilReference(QilNodeType nodeType) : base(nodeType) { } //----------------------------------------------- // QilReference methods //----------------------------------------------- ////// Name of this reference, preserved for debugging (may be null). /// public string DebugName { get { return this.debugName; } set { if (value.Length > MaxDebugNameLength) value = value.Substring(0, MaxDebugNameLength); this.debugName = value; } } } } // 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
- ToolStripGrip.cs
- ExclusiveHandleList.cs
- QilName.cs
- RightsManagementProvider.cs
- ControlCollection.cs
- WorkflowServiceNamespace.cs
- BrowserTree.cs
- EventMappingSettingsCollection.cs
- SelectorAutomationPeer.cs
- SystemWebSectionGroup.cs
- WorkflowMessageEventHandler.cs
- UnsafeNativeMethodsPenimc.cs
- ChannelManager.cs
- DataGridState.cs
- UpDownBase.cs
- ChannelParameterCollection.cs
- WindowsListViewGroupSubsetLink.cs
- TopClause.cs
- DBNull.cs
- SettingsSection.cs
- QueryAccessibilityHelpEvent.cs
- BitmapEffectGroup.cs
- PointAnimationUsingPath.cs
- CapabilitiesPattern.cs
- TypeNameParser.cs
- ActivityExecutionContext.cs
- ObjectCacheSettings.cs
- InboundActivityHelper.cs
- Pens.cs
- Size3DConverter.cs
- ValueTypeFixupInfo.cs
- ResourceManagerWrapper.cs
- NativeMethods.cs
- LambdaCompiler.Address.cs
- SystemIPGlobalProperties.cs
- DataGridViewCheckBoxCell.cs
- CommandField.cs
- TextServicesPropertyRanges.cs
- SR.cs
- XmlSchemaSimpleContentExtension.cs
- CollectionEditorDialog.cs
- DelayDesigner.cs
- ManipulationCompletedEventArgs.cs
- xmlfixedPageInfo.cs
- GeometryDrawing.cs
- InputBindingCollection.cs
- WebBrowserSiteBase.cs
- OutputCacheProfileCollection.cs
- DefaultSection.cs
- StylusSystemGestureEventArgs.cs
- XmlSecureResolver.cs
- DemultiplexingClientMessageFormatter.cs
- MimeTypeAttribute.cs
- XPathException.cs
- DateTimeConverter2.cs
- TemplateBamlRecordReader.cs
- XmlQueryType.cs
- FontUnit.cs
- XPathDocumentNavigator.cs
- XamlBuildTaskServices.cs
- WebErrorHandler.cs
- UnknownWrapper.cs
- DropDownList.cs
- DataGridRow.cs
- TakeOrSkipQueryOperator.cs
- ValueTypeFixupInfo.cs
- SectionRecord.cs
- ItemCollection.cs
- QilPatternVisitor.cs
- AdPostCacheSubstitution.cs
- SRef.cs
- LongValidator.cs
- FormsAuthenticationUser.cs
- ModulesEntry.cs
- TextServicesProperty.cs
- Debugger.cs
- CatalogPartCollection.cs
- WinEventQueueItem.cs
- DataGridViewButtonColumn.cs
- TextRunTypographyProperties.cs
- DataObjectMethodAttribute.cs
- followingquery.cs
- WorkItem.cs
- GridViewRowEventArgs.cs
- ProfileModule.cs
- BindingValueChangedEventArgs.cs
- TableTextElementCollectionInternal.cs
- SqlStatistics.cs
- XPathNavigator.cs
- PropertyMappingExceptionEventArgs.cs
- Activator.cs
- EndpointConfigContainer.cs
- ScopelessEnumAttribute.cs
- DataKeyArray.cs
- autovalidator.cs
- KeysConverter.cs
- PatternMatcher.cs
- SplashScreenNativeMethods.cs
- EntityStoreSchemaGenerator.cs
- EditableRegion.cs