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
- GroupQuery.cs
- PeerPresenceInfo.cs
- TextTreeText.cs
- webclient.cs
- PtsHelper.cs
- PermissionAttributes.cs
- GenerateHelper.cs
- HttpConfigurationContext.cs
- DodSequenceMerge.cs
- XmlEncodedRawTextWriter.cs
- InheritanceService.cs
- PersistenceTask.cs
- ConstNode.cs
- validation.cs
- WindowsStatusBar.cs
- StructuralComparisons.cs
- Membership.cs
- ProfileManager.cs
- EntitySqlException.cs
- CannotUnloadAppDomainException.cs
- BitmapDecoder.cs
- MessageDecoder.cs
- HtmlLabelAdapter.cs
- OutputCacheSettingsSection.cs
- SqlTriggerAttribute.cs
- GregorianCalendarHelper.cs
- BmpBitmapDecoder.cs
- OleAutBinder.cs
- MsmqAppDomainProtocolHandler.cs
- CheckBoxFlatAdapter.cs
- EnumValAlphaComparer.cs
- ToolStripKeyboardHandlingService.cs
- MenuItemBindingCollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- UInt16.cs
- PackageFilter.cs
- MDIControlStrip.cs
- ClientTargetCollection.cs
- ValuePattern.cs
- Container.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- InstanceContext.cs
- LayoutEvent.cs
- HandledMouseEvent.cs
- BufferedGraphicsContext.cs
- BitmapPalette.cs
- RuleSettings.cs
- OLEDB_Enum.cs
- BypassElement.cs
- CopyOfAction.cs
- DefaultTextStoreTextComposition.cs
- TextParagraph.cs
- EventRouteFactory.cs
- CounterSample.cs
- SizeF.cs
- _NetRes.cs
- TreeViewEvent.cs
- AssemblyAttributesGoHere.cs
- MdiWindowListItemConverter.cs
- StyleBamlRecordReader.cs
- DataRowChangeEvent.cs
- TabControlAutomationPeer.cs
- SHA256Managed.cs
- PersonalizationProvider.cs
- typedescriptorpermission.cs
- PngBitmapEncoder.cs
- WebPartVerb.cs
- ConnectionManagementElement.cs
- SecurityState.cs
- WebServiceData.cs
- EmptyStringExpandableObjectConverter.cs
- HGlobalSafeHandle.cs
- COMException.cs
- ListManagerBindingsCollection.cs
- DefaultEvaluationContext.cs
- HtmlGenericControl.cs
- ProfessionalColorTable.cs
- CacheChildrenQuery.cs
- SupportsPreviewControlAttribute.cs
- MenuItem.cs
- SimpleBitVector32.cs
- CompilerError.cs
- LinqDataSource.cs
- HitTestResult.cs
- OutputCacheSection.cs
- OletxCommittableTransaction.cs
- SafeRightsManagementHandle.cs
- WindowsSecurityTokenAuthenticator.cs
- FileReservationCollection.cs
- CompModSwitches.cs
- AddInDeploymentState.cs
- GroupItem.cs
- ReliableSessionElement.cs
- MetafileEditor.cs
- ChangeBlockUndoRecord.cs
- ToolStripSplitButton.cs
- SafeNativeMethods.cs
- BindingRestrictions.cs
- documentsequencetextcontainer.cs
- FindCriteriaApril2005.cs