Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TemplateLookupAction.cs
- TcpClientChannel.cs
- WebServiceErrorEvent.cs
- ErrorRuntimeConfig.cs
- RelationshipNavigation.cs
- FixedSOMTable.cs
- ListViewUpdatedEventArgs.cs
- FieldAccessException.cs
- HotSpotCollection.cs
- TrackingProfileSerializer.cs
- PocoPropertyAccessorStrategy.cs
- MetadataSource.cs
- RightsManagementEncryptionTransform.cs
- UnmanagedMemoryStreamWrapper.cs
- TimeSpanOrInfiniteConverter.cs
- GlyphInfoList.cs
- CatalogPartCollection.cs
- SessionStateModule.cs
- PropertyEmitter.cs
- DataShape.cs
- WindowsToolbar.cs
- EntityObject.cs
- ComboBox.cs
- ConsumerConnectionPoint.cs
- MailMessage.cs
- HotSpot.cs
- XmlDocumentFragment.cs
- MimeFormReflector.cs
- Comparer.cs
- DiagnosticEventProvider.cs
- SizeChangedEventArgs.cs
- HexParser.cs
- PathNode.cs
- TextAction.cs
- JsonGlobals.cs
- XmlDictionaryReaderQuotas.cs
- DesignerCatalogPartChrome.cs
- PropertyKey.cs
- SemaphoreSecurity.cs
- Int32CollectionConverter.cs
- PackageRelationship.cs
- DesignParameter.cs
- SamlAuthenticationStatement.cs
- Visual.cs
- DesignerHierarchicalDataSourceView.cs
- panel.cs
- FixedHighlight.cs
- EdmScalarPropertyAttribute.cs
- LabelExpression.cs
- MessagePropertyFilter.cs
- BrowserDefinition.cs
- EntityFrameworkVersions.cs
- DetailsViewRowCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- SettingsSavedEventArgs.cs
- WinEventTracker.cs
- ComponentConverter.cs
- ToolStripPanel.cs
- QueryMatcher.cs
- BaseCAMarshaler.cs
- DateTimeOffsetConverter.cs
- SqlStatistics.cs
- WindowsListViewGroup.cs
- UrlPath.cs
- HtmlWindow.cs
- CompositeDataBoundControl.cs
- WebMessageEncodingElement.cs
- WebServiceClientProxyGenerator.cs
- AvTraceDetails.cs
- StringHandle.cs
- RangeValuePattern.cs
- PixelFormat.cs
- ObjectAnimationBase.cs
- PageStatePersister.cs
- DataGridItemEventArgs.cs
- HandlerWithFactory.cs
- ButtonBaseAdapter.cs
- TextContainer.cs
- MissingFieldException.cs
- Drawing.cs
- Rotation3D.cs
- OpCellTreeNode.cs
- CompiledXpathExpr.cs
- EntityDataSourceChangingEventArgs.cs
- TextReturnReader.cs
- IItemProperties.cs
- SerializerProvider.cs
- SqlParameter.cs
- SafeWaitHandle.cs
- FormatConvertedBitmap.cs
- PropertyTabChangedEvent.cs
- TransformerInfoCollection.cs
- XpsSerializationException.cs
- FormClosingEvent.cs
- JsonDeserializer.cs
- AspCompat.cs
- Serializer.cs
- HashCodeCombiner.cs
- Int32KeyFrameCollection.cs
- HttpMethodConstraint.cs