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
- ObjRef.cs
- DetailsViewRowCollection.cs
- TreeNodeClickEventArgs.cs
- Events.cs
- GraphicsPathIterator.cs
- MemoryPressure.cs
- NonSerializedAttribute.cs
- ErrorWrapper.cs
- TextTabProperties.cs
- DocumentsTrace.cs
- SchemaImporterExtensionElementCollection.cs
- XmlWellformedWriter.cs
- ValidatingReaderNodeData.cs
- FormViewDeleteEventArgs.cs
- HtmlTextArea.cs
- SystemIPAddressInformation.cs
- ComplexPropertyEntry.cs
- DataServiceClientException.cs
- EntitySqlException.cs
- MulticastNotSupportedException.cs
- ClassDataContract.cs
- CompareInfo.cs
- GlobalizationAssembly.cs
- LayoutInformation.cs
- EllipticalNodeOperations.cs
- XmlSchemaAnnotation.cs
- EventLogPermissionEntry.cs
- PrintPreviewControl.cs
- SystemInfo.cs
- XPathItem.cs
- XmlCompatibilityReader.cs
- sitestring.cs
- ImageKeyConverter.cs
- SiteOfOriginPart.cs
- CollectionViewGroupRoot.cs
- HierarchicalDataBoundControlAdapter.cs
- Expander.cs
- HashAlgorithm.cs
- DynamicUpdateCommand.cs
- XmlHierarchicalDataSourceView.cs
- AnnotationService.cs
- EmptyElement.cs
- MediaScriptCommandRoutedEventArgs.cs
- Byte.cs
- DurationConverter.cs
- TdsParserHelperClasses.cs
- SecurityElement.cs
- BindingManagerDataErrorEventArgs.cs
- TextCompositionEventArgs.cs
- StrongTypingException.cs
- ListInitExpression.cs
- EncoderExceptionFallback.cs
- SafeFileMapViewHandle.cs
- XamlTreeBuilder.cs
- XamlSerializer.cs
- SessionEndedEventArgs.cs
- SQLMembershipProvider.cs
- SignatureDescription.cs
- WindowsToolbarItemAsMenuItem.cs
- RegisteredArrayDeclaration.cs
- StructuredCompositeActivityDesigner.cs
- ItemList.cs
- NumberSubstitution.cs
- X509CertificateStore.cs
- ResourceReader.cs
- SqlUnionizer.cs
- AggregateException.cs
- BrowserCapabilitiesFactory35.cs
- BypassElementCollection.cs
- HiddenFieldPageStatePersister.cs
- DataObjectPastingEventArgs.cs
- TextEditorCharacters.cs
- ModuleBuilderData.cs
- DateTimeFormatInfo.cs
- SafeWaitHandle.cs
- HexParser.cs
- ReliableOutputSessionChannel.cs
- AtomServiceDocumentSerializer.cs
- ReturnValue.cs
- RemotingServices.cs
- DesignerDataSchemaClass.cs
- AvtEvent.cs
- GreenMethods.cs
- AccessViolationException.cs
- DefaultValueConverter.cs
- NumericUpDownAccelerationCollection.cs
- mediaeventshelper.cs
- ByteBufferPool.cs
- Listbox.cs
- RotateTransform.cs
- StaticExtension.cs
- _SecureChannel.cs
- ToolStripDropDownClosingEventArgs.cs
- WindowsButton.cs
- DesignerLabelAdapter.cs
- DefaultDialogButtons.cs
- RoleGroupCollectionEditor.cs
- CompleteWizardStep.cs
- CursorConverter.cs
- JoinSymbol.cs