Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilReference.cs / 1305376 / 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 // So we set the internal limit to 1000. Needs to be lower since we might later append // few characters (for example "(2)") if we end up with two same named methods after // the truncation. private const int MaxDebugNameLength = 1000; 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
- RijndaelManagedTransform.cs
- XmlIgnoreAttribute.cs
- FamilyMap.cs
- FontSourceCollection.cs
- InkPresenterAutomationPeer.cs
- URLEditor.cs
- FloaterBaseParaClient.cs
- BooleanToVisibilityConverter.cs
- CodeTypeMemberCollection.cs
- RowSpanVector.cs
- CmsUtils.cs
- XmlAggregates.cs
- QueryPageSettingsEventArgs.cs
- XmlNavigatorStack.cs
- ChangeDirector.cs
- DateTime.cs
- RequiredAttributeAttribute.cs
- PointAnimationUsingKeyFrames.cs
- TextServicesLoader.cs
- EditorZoneAutoFormat.cs
- HashCodeCombiner.cs
- CollaborationHelperFunctions.cs
- PenLineJoinValidation.cs
- SqlDataReaderSmi.cs
- GiveFeedbackEvent.cs
- KeyEvent.cs
- ChildChangedEventArgs.cs
- AmbientLight.cs
- Point3DKeyFrameCollection.cs
- SchemaCompiler.cs
- TabControl.cs
- ArrayWithOffset.cs
- TabletCollection.cs
- ReferenceService.cs
- UnitySerializationHolder.cs
- BitArray.cs
- DescendantOverDescendantQuery.cs
- HttpRuntimeSection.cs
- RotateTransform.cs
- PanelStyle.cs
- CharEnumerator.cs
- XmlSchemaGroupRef.cs
- WebAdminConfigurationHelper.cs
- PathFigure.cs
- ClientTargetCollection.cs
- SimpleType.cs
- DSASignatureFormatter.cs
- WebBrowserEvent.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- XmlMemberMapping.cs
- MutexSecurity.cs
- DynamicFilter.cs
- IIS7UserPrincipal.cs
- XmlUtf8RawTextWriter.cs
- HttpConfigurationSystem.cs
- TCEAdapterGenerator.cs
- ControlBuilder.cs
- CodeDomConfigurationHandler.cs
- FlowDocumentView.cs
- SByte.cs
- XmlNodeComparer.cs
- Size.cs
- SvcMapFileSerializer.cs
- XamlSerializerUtil.cs
- GuidelineCollection.cs
- WaitHandleCannotBeOpenedException.cs
- XPathSelfQuery.cs
- RootProfilePropertySettingsCollection.cs
- SegmentInfo.cs
- DbConnectionStringCommon.cs
- ComplexTypeEmitter.cs
- VerificationException.cs
- StateWorkerRequest.cs
- AutoGeneratedField.cs
- ToolboxComponentsCreatingEventArgs.cs
- VisualStyleRenderer.cs
- ConnectionStringsExpressionBuilder.cs
- _ShellExpression.cs
- ExpressionWriter.cs
- LayoutTableCell.cs
- TextSpanModifier.cs
- EditorZone.cs
- KernelTypeValidation.cs
- ReceiveDesigner.xaml.cs
- Int16.cs
- ObjectDataSourceDisposingEventArgs.cs
- DeploymentSection.cs
- BufferedGraphicsManager.cs
- Binding.cs
- CellCreator.cs
- InstanceDataCollection.cs
- RichTextBoxAutomationPeer.cs
- XomlDesignerLoader.cs
- GradientBrush.cs
- FormClosingEvent.cs
- XmlSecureResolver.cs
- AlternateViewCollection.cs
- CmsInterop.cs
- XmlSchemaInclude.cs
- FlowDocumentScrollViewer.cs