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
- BooleanStorage.cs
- EditorZoneAutoFormat.cs
- XamlFrame.cs
- ExpressionTable.cs
- SafeEventLogReadHandle.cs
- XmlTypeMapping.cs
- WebPartMenu.cs
- PropertyPath.cs
- ThemeDirectoryCompiler.cs
- SystemIPGlobalStatistics.cs
- UserNameSecurityTokenProvider.cs
- RequestCache.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ArgIterator.cs
- StrongNameUtility.cs
- DataBinding.cs
- WebControlToolBoxItem.cs
- MouseButtonEventArgs.cs
- IISMapPath.cs
- AttributeTableBuilder.cs
- ActivityTypeResolver.xaml.cs
- CookieParameter.cs
- ExtensibleClassFactory.cs
- CodeMemberMethod.cs
- DivideByZeroException.cs
- ZipFileInfoCollection.cs
- PageParser.cs
- CompositeClientFormatter.cs
- VersionedStream.cs
- DataBindEngine.cs
- PersistChildrenAttribute.cs
- ObjectTag.cs
- ExceptionTranslationTable.cs
- Literal.cs
- InertiaTranslationBehavior.cs
- XmlConvert.cs
- ContainerParagraph.cs
- TextDecorationCollection.cs
- BinaryParser.cs
- OutOfProcStateClientManager.cs
- XmlSerializer.cs
- ProfileProvider.cs
- Axis.cs
- SpecularMaterial.cs
- MemberMaps.cs
- ProcessInfo.cs
- IConvertible.cs
- TaskFileService.cs
- ToggleButton.cs
- AssemblyCache.cs
- ToolStripDropDown.cs
- InternalConfirm.cs
- LocatorBase.cs
- RestHandlerFactory.cs
- StylusSystemGestureEventArgs.cs
- CoreSwitches.cs
- ToolStrip.cs
- CodeIndexerExpression.cs
- AutoFocusStyle.xaml.cs
- ToolboxService.cs
- ZipIOCentralDirectoryBlock.cs
- PersonalizationStateQuery.cs
- ColorConvertedBitmap.cs
- DataPager.cs
- FileDialogCustomPlacesCollection.cs
- Update.cs
- SimpleExpression.cs
- CalculatedColumn.cs
- GetParentChain.cs
- ToolStripScrollButton.cs
- itemelement.cs
- StaticDataManager.cs
- ListCommandEventArgs.cs
- PanelStyle.cs
- EventLogPermissionEntry.cs
- GlyphRun.cs
- OptimizedTemplateContentHelper.cs
- BitVec.cs
- SoapIgnoreAttribute.cs
- AstTree.cs
- TextTreeTextBlock.cs
- StrokeCollection2.cs
- DecimalMinMaxAggregationOperator.cs
- WebPartTransformerCollection.cs
- WebPartDeleteVerb.cs
- CalendarAutoFormat.cs
- WindowsGrip.cs
- GridViewRowPresenter.cs
- TextTreePropertyUndoUnit.cs
- rsa.cs
- OdbcError.cs
- _NestedMultipleAsyncResult.cs
- ImageFormatConverter.cs
- TraceHandler.cs
- NamespaceCollection.cs
- GradientStop.cs
- AssociativeAggregationOperator.cs
- Deflater.cs
- ColorInterpolationModeValidation.cs
- FlowPosition.cs