Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Table.cs
- EventItfInfo.cs
- DependencyPropertyDescriptor.cs
- HttpRequestTraceRecord.cs
- UserControl.cs
- HostingEnvironmentException.cs
- FormCollection.cs
- Bookmark.cs
- TraceContext.cs
- UniqueConstraint.cs
- LineBreak.cs
- MessageEncoderFactory.cs
- WebPart.cs
- ImageSourceConverter.cs
- COM2ColorConverter.cs
- SymbolResolver.cs
- GridViewDeletedEventArgs.cs
- ScriptControlDescriptor.cs
- Stack.cs
- WindowsFormsHelpers.cs
- MouseGestureConverter.cs
- CharUnicodeInfo.cs
- TdsParserHelperClasses.cs
- DataGridView.cs
- RefreshPropertiesAttribute.cs
- Camera.cs
- SchemaInfo.cs
- CreateBookmarkScope.cs
- LicenseManager.cs
- RadioButton.cs
- ProfileSection.cs
- TransformCollection.cs
- SoundPlayer.cs
- OfTypeExpression.cs
- PocoPropertyAccessorStrategy.cs
- ObjectTokenCategory.cs
- TextSpan.cs
- DataSourceNameHandler.cs
- SafeProcessHandle.cs
- HtmlShimManager.cs
- Column.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- EdmComplexPropertyAttribute.cs
- HtmlContainerControl.cs
- TextClipboardData.cs
- GenericsNotImplementedException.cs
- SecurityResources.cs
- AnimationLayer.cs
- TransportReplyChannelAcceptor.cs
- TextElementCollection.cs
- Aggregates.cs
- SubstitutionDesigner.cs
- GeneralTransform.cs
- StrokeNodeEnumerator.cs
- Menu.cs
- CombinedHttpChannel.cs
- GridViewDeleteEventArgs.cs
- PersonalizablePropertyEntry.cs
- Vector.cs
- DataGridTableCollection.cs
- Int32RectConverter.cs
- InheritanceRules.cs
- XmlExpressionDumper.cs
- WsatServiceCertificate.cs
- WebPartEditVerb.cs
- StreamSecurityUpgradeAcceptorBase.cs
- ZipIOExtraField.cs
- AudioFormatConverter.cs
- TemplatePartAttribute.cs
- StyleCollection.cs
- TextParagraph.cs
- SiteMap.cs
- XmlQueryOutput.cs
- ObjectCloneHelper.cs
- WebPartDescriptionCollection.cs
- RunInstallerAttribute.cs
- StorageComplexPropertyMapping.cs
- BindingNavigatorDesigner.cs
- BinaryMethodMessage.cs
- ComplexObject.cs
- RenderDataDrawingContext.cs
- CollectionBuilder.cs
- Floater.cs
- ProtocolException.cs
- SoapException.cs
- SendSecurityHeader.cs
- GenericIdentity.cs
- StrokeCollection2.cs
- ProfileParameter.cs
- CorrelationActionMessageFilter.cs
- DependencyPropertyKey.cs
- ReferentialConstraint.cs
- PnrpPermission.cs
- WhiteSpaceTrimStringConverter.cs
- CultureSpecificCharacterBufferRange.cs
- DefaultAutoFieldGenerator.cs
- CollectionsUtil.cs
- mediaeventshelper.cs
- VideoDrawing.cs
- KeyGestureValueSerializer.cs