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
- Membership.cs
- WebPartAuthorizationEventArgs.cs
- TogglePatternIdentifiers.cs
- TableCellCollection.cs
- TransactionFlowBindingElementImporter.cs
- GiveFeedbackEvent.cs
- DataGridViewButtonCell.cs
- IDictionary.cs
- Vector3D.cs
- XmlEnumAttribute.cs
- ResetableIterator.cs
- TextEmbeddedObject.cs
- pingexception.cs
- ResumeStoryboard.cs
- TreeWalker.cs
- XmlBinaryReader.cs
- MessageBox.cs
- SurrogateEncoder.cs
- RightNameExpirationInfoPair.cs
- WorkItem.cs
- ModelItemDictionary.cs
- DataStreamFromComStream.cs
- ProofTokenCryptoHandle.cs
- Update.cs
- NavigationPropertyEmitter.cs
- CapacityStreamGeometryContext.cs
- ExternalCalls.cs
- FusionWrap.cs
- DocumentEventArgs.cs
- DelegatingConfigHost.cs
- LineServices.cs
- IdentifierService.cs
- Rijndael.cs
- XsltSettings.cs
- HttpCachePolicyElement.cs
- CacheChildrenQuery.cs
- BulletChrome.cs
- CachedPathData.cs
- DocumentPaginator.cs
- Brush.cs
- ChangeDirector.cs
- ReaderContextStackData.cs
- HtmlContainerControl.cs
- Convert.cs
- ManagedIStream.cs
- ImageFormat.cs
- XmlStreamStore.cs
- TrackingAnnotationCollection.cs
- Fx.cs
- JournalEntryStack.cs
- ContentDisposition.cs
- Rect3D.cs
- BStrWrapper.cs
- QueryExecutionOption.cs
- MetadataItem.cs
- VectorAnimationUsingKeyFrames.cs
- DataBoundControlHelper.cs
- _LazyAsyncResult.cs
- PreservationFileReader.cs
- Buffer.cs
- TreeView.cs
- EncryptedPackageFilter.cs
- HwndKeyboardInputProvider.cs
- FixedSOMLineRanges.cs
- NativeMethods.cs
- Executor.cs
- ProcessModelSection.cs
- PathFigureCollectionConverter.cs
- DoubleCollection.cs
- ColorDialog.cs
- CacheVirtualItemsEvent.cs
- ExitEventArgs.cs
- FontTypeConverter.cs
- MultipleViewPattern.cs
- SimpleLine.cs
- X509PeerCertificateElement.cs
- ConditionalAttribute.cs
- codemethodreferenceexpression.cs
- ZipIOFileItemStream.cs
- DSASignatureFormatter.cs
- DbCommandDefinition.cs
- CardSpacePolicyElement.cs
- PeerUnsafeNativeCryptMethods.cs
- HyperLinkStyle.cs
- HttpModuleActionCollection.cs
- followingsibling.cs
- SystemIPv4InterfaceProperties.cs
- SafeNativeMethods.cs
- CardSpaceException.cs
- IsolatedStorage.cs
- HttpCookiesSection.cs
- DataTableNewRowEvent.cs
- DbCommandTree.cs
- AssemblyAttributes.cs
- HyperLinkColumn.cs
- CodeGen.cs
- GregorianCalendar.cs
- ThreadStaticAttribute.cs
- Color.cs
- QilSortKey.cs