Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CodeSnippetExpression.cs
- SiteOfOriginContainer.cs
- RootBrowserWindowProxy.cs
- CharUnicodeInfo.cs
- CollectionAdapters.cs
- TextTreeDeleteContentUndoUnit.cs
- TextMarkerSource.cs
- GACIdentityPermission.cs
- TransactionFlowAttribute.cs
- SoapAttributeOverrides.cs
- HandleCollector.cs
- EventLogException.cs
- FormClosedEvent.cs
- TextDocumentView.cs
- DomNameTable.cs
- StreamMarshaler.cs
- HtmlTextArea.cs
- DetailsViewCommandEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- CodeRegionDirective.cs
- AdornerDecorator.cs
- SqlDelegatedTransaction.cs
- IndexingContentUnit.cs
- QueryOperationResponseOfT.cs
- FaultContext.cs
- DataObjectEventArgs.cs
- ListManagerBindingsCollection.cs
- ColorTransform.cs
- CultureInfo.cs
- Int32RectValueSerializer.cs
- WebHostedComPlusServiceHost.cs
- XmlSchemaObjectCollection.cs
- BlockUIContainer.cs
- FormCollection.cs
- BroadcastEventHelper.cs
- ActivityTypeCodeDomSerializer.cs
- EventLogPermissionHolder.cs
- DetailsViewInsertedEventArgs.cs
- WebBrowserNavigatingEventHandler.cs
- StrongNameMembershipCondition.cs
- FontUnitConverter.cs
- AssemblyBuilderData.cs
- MultiSelectRootGridEntry.cs
- RegularExpressionValidator.cs
- EventWaitHandle.cs
- Calendar.cs
- XmlSerializerOperationGenerator.cs
- RijndaelManaged.cs
- webclient.cs
- QuaternionAnimation.cs
- ScriptManagerProxy.cs
- DataGridViewComboBoxColumn.cs
- ReadOnlyDataSourceView.cs
- ListDictionary.cs
- AlignmentYValidation.cs
- NativeMethods.cs
- Rotation3DAnimationUsingKeyFrames.cs
- QueryResults.cs
- PerspectiveCamera.cs
- InstanceDataCollection.cs
- InputManager.cs
- CookielessHelper.cs
- ResourceReader.cs
- StorageSetMapping.cs
- TimeoutValidationAttribute.cs
- TriggerActionCollection.cs
- Image.cs
- CqlWriter.cs
- SiteMapDataSource.cs
- PrtCap_Reader.cs
- TickBar.cs
- SqlDataSourceEnumerator.cs
- QilCloneVisitor.cs
- AutoResetEvent.cs
- KeySpline.cs
- XmlNavigatorFilter.cs
- ConfigsHelper.cs
- RegexCode.cs
- DataControlFieldCell.cs
- RoutingUtilities.cs
- CompilationSection.cs
- HiddenFieldDesigner.cs
- ProcessModelInfo.cs
- TransactionFlowAttribute.cs
- ReaderWriterLockWrapper.cs
- SQLDouble.cs
- ErrorWrapper.cs
- sqlstateclientmanager.cs
- DictionarySectionHandler.cs
- xdrvalidator.cs
- ErrorLog.cs
- WebPartCatalogAddVerb.cs
- OleDbDataReader.cs
- TypeInfo.cs
- SingleKeyFrameCollection.cs
- SafePEFileHandle.cs
- ScalarType.cs
- ReturnValue.cs
- LogEntrySerializationException.cs
- ConstraintConverter.cs