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
- BadImageFormatException.cs
- SchemaNamespaceManager.cs
- GreaterThanOrEqual.cs
- StringUtil.cs
- CreatingCookieEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- StrongNameMembershipCondition.cs
- ComponentEditorForm.cs
- ColumnResizeAdorner.cs
- HtmlShimManager.cs
- NamespaceQuery.cs
- EndGetFileNameFromUserRequest.cs
- RegexGroupCollection.cs
- EUCJPEncoding.cs
- LostFocusEventManager.cs
- XamlClipboardData.cs
- EnumValAlphaComparer.cs
- unsafenativemethodstextservices.cs
- Options.cs
- BufferModesCollection.cs
- UnconditionalPolicy.cs
- Panel.cs
- COM2TypeInfoProcessor.cs
- ScriptResourceInfo.cs
- ProviderConnectionPointCollection.cs
- SafeCryptoKeyHandle.cs
- QilTypeChecker.cs
- EncodingTable.cs
- ScrollViewer.cs
- SoapObjectReader.cs
- DetailsViewPageEventArgs.cs
- StatusStrip.cs
- TransactionProtocol.cs
- StylusDevice.cs
- FrameworkContextData.cs
- ControlIdConverter.cs
- LazyInitializer.cs
- ScrollChrome.cs
- SettingsSection.cs
- Screen.cs
- CallbackHandler.cs
- RepeaterItemCollection.cs
- ComboBox.cs
- ResourceProviderFactory.cs
- CodeSnippetExpression.cs
- CurrentChangedEventManager.cs
- PeerApplication.cs
- Pair.cs
- BitmapCodecInfo.cs
- DescendantQuery.cs
- Translator.cs
- AudienceUriMode.cs
- CacheChildrenQuery.cs
- LinqToSqlWrapper.cs
- DeferredReference.cs
- GcHandle.cs
- DivideByZeroException.cs
- EntityViewGenerator.cs
- RectConverter.cs
- XmlSchemaIdentityConstraint.cs
- TextEffectCollection.cs
- EventSetterHandlerConverter.cs
- FlagsAttribute.cs
- JsonObjectDataContract.cs
- Configuration.cs
- MetadataItem_Static.cs
- TreeViewCancelEvent.cs
- XXXOnTypeBuilderInstantiation.cs
- CodeAccessPermission.cs
- XmlBinaryWriter.cs
- IdnElement.cs
- HierarchicalDataSourceConverter.cs
- OperatorExpressions.cs
- Executor.cs
- WebPartActionVerb.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ScriptManager.cs
- CacheChildrenQuery.cs
- CodeParameterDeclarationExpression.cs
- ConstraintStruct.cs
- SelectionEditor.cs
- DiscreteKeyFrames.cs
- CryptoHelper.cs
- ChineseLunisolarCalendar.cs
- SHA1CryptoServiceProvider.cs
- CryptoProvider.cs
- DataControlCommands.cs
- PositiveTimeSpanValidatorAttribute.cs
- SafeJobHandle.cs
- CompilationUtil.cs
- MDIWindowDialog.cs
- AnnotationComponentManager.cs
- BmpBitmapDecoder.cs
- WebPartConnectionsEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- CapabilitiesAssignment.cs
- Rfc2898DeriveBytes.cs
- StackSpiller.Generated.cs
- OpenFileDialog.cs
- WrapPanel.cs