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
- filewebresponse.cs
- DataGridViewTopLeftHeaderCell.cs
- HelpKeywordAttribute.cs
- PeerNameRecordCollection.cs
- DropDownButton.cs
- DbDeleteCommandTree.cs
- QueryExpression.cs
- InputScopeNameConverter.cs
- XpsFontSerializationService.cs
- TreeViewHitTestInfo.cs
- _OverlappedAsyncResult.cs
- ModifierKeysValueSerializer.cs
- RegexReplacement.cs
- Variable.cs
- SchemaAttDef.cs
- HttpPostProtocolImporter.cs
- FieldBuilder.cs
- UIElement.cs
- XmlNode.cs
- TreeView.cs
- DiscoveryRequestHandler.cs
- Stylus.cs
- XmlILAnnotation.cs
- TemplatePropertyEntry.cs
- PlanCompiler.cs
- RichTextBoxAutomationPeer.cs
- SqlXmlStorage.cs
- EndpointFilterProvider.cs
- TextTreeRootNode.cs
- SoapEnvelopeProcessingElement.cs
- BitmapCodecInfo.cs
- XmlUnspecifiedAttribute.cs
- Variable.cs
- HashMembershipCondition.cs
- KerberosTicketHashIdentifierClause.cs
- ObjectDisposedException.cs
- WsatConfiguration.cs
- QuotedStringFormatReader.cs
- PolyQuadraticBezierSegment.cs
- PublisherMembershipCondition.cs
- ResourceProviderFactory.cs
- UInt16Storage.cs
- DynamicValidatorEventArgs.cs
- XamlStackWriter.cs
- RSAPKCS1SignatureFormatter.cs
- LineProperties.cs
- XPathNavigator.cs
- Stylesheet.cs
- MulticastIPAddressInformationCollection.cs
- ConnectionProviderAttribute.cs
- RotateTransform3D.cs
- PropertyGroupDescription.cs
- InkCanvasSelection.cs
- VideoDrawing.cs
- DaylightTime.cs
- SchemaObjectWriter.cs
- FixedSOMGroup.cs
- BCryptNative.cs
- InfoCardUIAgent.cs
- SymLanguageType.cs
- ImportContext.cs
- GZipDecoder.cs
- ImageClickEventArgs.cs
- AutomationPatternInfo.cs
- SignatureResourcePool.cs
- Literal.cs
- OracleBFile.cs
- ProfilePropertySettingsCollection.cs
- NamespaceList.cs
- Compensation.cs
- CodeTryCatchFinallyStatement.cs
- ExpressionPrinter.cs
- Geometry.cs
- SingleObjectCollection.cs
- ParentUndoUnit.cs
- ProcessRequestAsyncResult.cs
- SQLDateTimeStorage.cs
- CalendarTable.cs
- AllowedAudienceUriElement.cs
- FileSystemWatcher.cs
- BitmapCodecInfoInternal.cs
- ListViewItem.cs
- AmbientLight.cs
- RelatedEnd.cs
- InvalidFilterCriteriaException.cs
- Lock.cs
- InvalidOperationException.cs
- EdmProviderManifest.cs
- NativeMethods.cs
- EventBuilder.cs
- URLAttribute.cs
- ResourceExpressionBuilder.cs
- WindowsRegion.cs
- ProxyElement.cs
- _StreamFramer.cs
- LiteralControl.cs
- baseshape.cs
- HashJoinQueryOperatorEnumerator.cs
- PersonalizationDictionary.cs
- KerberosRequestorSecurityTokenAuthenticator.cs