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
- DateTimeFormat.cs
- NodeCounter.cs
- TagPrefixInfo.cs
- AnalyzedTree.cs
- MexTcpBindingElement.cs
- TableAutomationPeer.cs
- ArgIterator.cs
- ExtenderControl.cs
- _NegoState.cs
- FileSystemEventArgs.cs
- TextEditorTables.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SqlRetyper.cs
- MultipartContentParser.cs
- ConsoleTraceListener.cs
- SQLString.cs
- TextEndOfLine.cs
- uribuilder.cs
- ResourceDisplayNameAttribute.cs
- NetworkAddressChange.cs
- OdbcDataReader.cs
- JapaneseLunisolarCalendar.cs
- StickyNote.cs
- XsltLoader.cs
- HttpProfileBase.cs
- AssociationSet.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DispatcherExceptionEventArgs.cs
- EnvelopedSignatureTransform.cs
- ListControl.cs
- TileBrush.cs
- AddressAlreadyInUseException.cs
- mediapermission.cs
- PrivateFontCollection.cs
- XmlCharacterData.cs
- ProfileParameter.cs
- ProxyElement.cs
- TypeSchema.cs
- ErrorLog.cs
- FloaterBaseParagraph.cs
- Hyperlink.cs
- GridView.cs
- UrlMappingsSection.cs
- ProfileGroupSettings.cs
- ByteConverter.cs
- SingleKeyFrameCollection.cs
- DecoderReplacementFallback.cs
- EtwTrace.cs
- RequestQueue.cs
- ResponseBodyWriter.cs
- StylusOverProperty.cs
- HttpListenerRequest.cs
- SyndicationElementExtensionCollection.cs
- AutomationIdentifier.cs
- ContextMenuService.cs
- SponsorHelper.cs
- IPGlobalProperties.cs
- NotifyCollectionChangedEventArgs.cs
- RestHandler.cs
- TextTreeFixupNode.cs
- FlagsAttribute.cs
- SqlEnums.cs
- VirtualizingPanel.cs
- SvcMapFileLoader.cs
- SendActivity.cs
- TextDecorations.cs
- MultiBinding.cs
- AuthenticationModuleElementCollection.cs
- TextEditorTables.cs
- UserControlCodeDomTreeGenerator.cs
- XmlReturnReader.cs
- SrgsItemList.cs
- BufferedReceiveManager.cs
- ToolbarAUtomationPeer.cs
- Label.cs
- Model3DGroup.cs
- ConditionValidator.cs
- TextFormatterImp.cs
- DiscoveryCallbackBehavior.cs
- RangeValidator.cs
- HostingEnvironmentException.cs
- TreeNodeCollectionEditor.cs
- basevalidator.cs
- SignatureHelper.cs
- HScrollBar.cs
- PageAdapter.cs
- XmlDataContract.cs
- ToolStripDropTargetManager.cs
- DefaultValueTypeConverter.cs
- TimerElapsedEvenArgs.cs
- QueryableDataSource.cs
- RuntimeConfig.cs
- DoubleStorage.cs
- DataColumnCollection.cs
- altserialization.cs
- TemplateGroupCollection.cs
- ReadWriteSpinLock.cs
- ByteStreamGeometryContext.cs
- IdentityNotMappedException.cs
- ObjectListGeneralPage.cs