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
- RegexCompiler.cs
- CodeTypeParameterCollection.cs
- _Connection.cs
- coordinatorfactory.cs
- AdjustableArrowCap.cs
- SqlServer2KCompatibilityCheck.cs
- ParameterToken.cs
- GridErrorDlg.cs
- DataTableMapping.cs
- ConsoleCancelEventArgs.cs
- RawStylusSystemGestureInputReport.cs
- OdbcPermission.cs
- PropertyItem.cs
- DispatcherBuilder.cs
- Vector3DAnimationUsingKeyFrames.cs
- AnimationLayer.cs
- PolicyChain.cs
- TypeConverterHelper.cs
- PermissionSetTriple.cs
- FileEnumerator.cs
- ApplicationProxyInternal.cs
- DataColumnMappingCollection.cs
- xsdvalidator.cs
- ControlCodeDomSerializer.cs
- TcpClientSocketManager.cs
- FragmentNavigationEventArgs.cs
- VectorKeyFrameCollection.cs
- CodeSnippetCompileUnit.cs
- VisualStyleRenderer.cs
- OrCondition.cs
- DateTimeFormatInfo.cs
- KeyInfo.cs
- TakeQueryOptionExpression.cs
- WebPartZoneBase.cs
- __ComObject.cs
- ComponentChangingEvent.cs
- AudioException.cs
- ConnectionPoint.cs
- XmlDataSource.cs
- DefaultValueAttribute.cs
- CharEntityEncoderFallback.cs
- ObjectCache.cs
- UriParserTemplates.cs
- HttpSysSettings.cs
- TargetFrameworkAttribute.cs
- NativeMethodsOther.cs
- WorkflowApplicationCompletedEventArgs.cs
- CodeStatement.cs
- ComplexPropertyEntry.cs
- FunctionNode.cs
- ViewBox.cs
- sqlstateclientmanager.cs
- dbenumerator.cs
- Journal.cs
- StateInitialization.cs
- Menu.cs
- WebPartDescriptionCollection.cs
- SafeProcessHandle.cs
- Object.cs
- LinqDataSourceDisposeEventArgs.cs
- ActivityCodeGenerator.cs
- ResXBuildProvider.cs
- GenericWebPart.cs
- MessageSmuggler.cs
- Pkcs7Signer.cs
- Selection.cs
- Event.cs
- RoleServiceManager.cs
- XmlHierarchicalEnumerable.cs
- ProcessHostConfigUtils.cs
- ConnectionsZoneAutoFormat.cs
- ValueHandle.cs
- TextRange.cs
- DecimalAnimation.cs
- TextTreeFixupNode.cs
- TemplatedMailWebEventProvider.cs
- SoapDocumentMethodAttribute.cs
- XmlSchemaCollection.cs
- SendKeys.cs
- AncillaryOps.cs
- X509CertificateCollection.cs
- ObjectReaderCompiler.cs
- ProcessInfo.cs
- SimpleWorkerRequest.cs
- TransformationRules.cs
- OleDbException.cs
- MessageQueueEnumerator.cs
- BooleanFunctions.cs
- ExpandableObjectConverter.cs
- SoapCommonClasses.cs
- isolationinterop.cs
- EditorPartChrome.cs
- SafeNativeMethods.cs
- XPathSingletonIterator.cs
- CompatibleComparer.cs
- DataControlFieldHeaderCell.cs
- SamlAttribute.cs
- XmlFormatExtensionPointAttribute.cs
- Cursor.cs
- EntityDataSourceChangingEventArgs.cs