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
- WinFormsSecurity.cs
- ProgressiveCrcCalculatingStream.cs
- NameGenerator.cs
- HyperlinkAutomationPeer.cs
- Converter.cs
- Duration.cs
- Nodes.cs
- baseaxisquery.cs
- RelatedCurrencyManager.cs
- Options.cs
- HttpProcessUtility.cs
- MessageSecurityVersionConverter.cs
- AttachedPropertyDescriptor.cs
- CmsUtils.cs
- SessionChannels.cs
- ColumnResult.cs
- SafeNativeMethods.cs
- ADMembershipUser.cs
- Int16KeyFrameCollection.cs
- TemplateInstanceAttribute.cs
- ISFClipboardData.cs
- QilParameter.cs
- EdmItemError.cs
- ZipIOLocalFileDataDescriptor.cs
- SafeNativeMethods.cs
- TypeNameConverter.cs
- ChannelAcceptor.cs
- XmlReflectionMember.cs
- StringFunctions.cs
- AspProxy.cs
- InternalMappingException.cs
- DatePicker.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- IndexerNameAttribute.cs
- DefaultShape.cs
- Internal.cs
- OletxResourceManager.cs
- DefaultObjectMappingItemCollection.cs
- EventLog.cs
- XPathNavigatorKeyComparer.cs
- CursorConverter.cs
- DoubleUtil.cs
- SuppressMessageAttribute.cs
- TextElementCollection.cs
- CompensationToken.cs
- AxisAngleRotation3D.cs
- LoginStatusDesigner.cs
- FixedFindEngine.cs
- WmlTextViewAdapter.cs
- MenuBindingsEditor.cs
- FontFamily.cs
- GlyphInfoList.cs
- ClientProxyGenerator.cs
- TypeUsage.cs
- CompiledQueryCacheEntry.cs
- CalendarDay.cs
- XsltInput.cs
- EncodingInfo.cs
- FunctionMappingTranslator.cs
- TextElement.cs
- SqlMethodTransformer.cs
- RectAnimationUsingKeyFrames.cs
- Size3D.cs
- SchemaElement.cs
- ColumnWidthChangedEvent.cs
- SqlIdentifier.cs
- Vector.cs
- TransformationRules.cs
- PropertyChangeTracker.cs
- CodeTypeParameter.cs
- RayMeshGeometry3DHitTestResult.cs
- ApplicationId.cs
- XmlDictionaryReaderQuotasElement.cs
- ListItemCollection.cs
- XmlWriter.cs
- RemoteWebConfigurationHostStream.cs
- HtmlMeta.cs
- SoapIncludeAttribute.cs
- XmlSecureResolver.cs
- ActiveXHost.cs
- ConfigXmlComment.cs
- CurrentChangingEventManager.cs
- PostBackOptions.cs
- ManipulationVelocities.cs
- ThreadPool.cs
- UnsafeNativeMethods.cs
- SplitterEvent.cs
- CryptoStream.cs
- NumericUpDown.cs
- DrawingContextWalker.cs
- WebPartChrome.cs
- _ConnectionGroup.cs
- AsyncPostBackTrigger.cs
- DataRecordInfo.cs
- AssemblyAttributes.cs
- VerticalAlignConverter.cs
- HorizontalAlignConverter.cs
- AnnotationAdorner.cs
- KeyBinding.cs
- Privilege.cs