Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Misc / CoreSwitches.cs / 1 / CoreSwitches.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Diagnostics; using System.Diagnostics.CodeAnalysis; ///// Shared between dlls [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal static class CoreSwitches { private static BooleanSwitch perfTrack; public static BooleanSwitch PerfTrack { [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] get { if (perfTrack == null) { perfTrack = new BooleanSwitch("PERFTRACK", "Debug performance critical sections."); } return perfTrack; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Diagnostics; using System.Diagnostics.CodeAnalysis; ///// Shared between dlls [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal static class CoreSwitches { private static BooleanSwitch perfTrack; public static BooleanSwitch PerfTrack { [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] get { if (perfTrack == null) { perfTrack = new BooleanSwitch("PERFTRACK", "Debug performance critical sections."); } return perfTrack; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfileSettingsCollection.cs
- ServiceBehaviorElement.cs
- SequentialOutput.cs
- CompareInfo.cs
- MultiViewDesigner.cs
- XmlException.cs
- CompilerGlobalScopeAttribute.cs
- LockCookie.cs
- DispatchOperationRuntime.cs
- EventDrivenDesigner.cs
- CorrelationResolver.cs
- ServicePoint.cs
- DescendantQuery.cs
- XamlSerializer.cs
- ContractSearchPattern.cs
- GeometryConverter.cs
- VisualState.cs
- Guid.cs
- SecurityTokenInclusionMode.cs
- CodeBinaryOperatorExpression.cs
- DataBoundControl.cs
- MiniLockedBorderGlyph.cs
- MouseGesture.cs
- ResourceManager.cs
- Scanner.cs
- SecurityState.cs
- SchemaSetCompiler.cs
- FlowDocumentScrollViewer.cs
- Accessors.cs
- SimpleWorkerRequest.cs
- KeyFrames.cs
- xmlglyphRunInfo.cs
- SplineKeyFrames.cs
- DataAdapter.cs
- DrawingAttributes.cs
- WindowsComboBox.cs
- SecurityDocument.cs
- DoubleAnimationBase.cs
- EnumerableCollectionView.cs
- ContextMarshalException.cs
- MemberProjectedSlot.cs
- PathParser.cs
- RouteParametersHelper.cs
- ReflectionPermission.cs
- BaseAppDomainProtocolHandler.cs
- OutputCacheModule.cs
- ConstructorNeedsTagAttribute.cs
- RenderCapability.cs
- _HeaderInfo.cs
- DataGridBoolColumn.cs
- CollectionViewGroupRoot.cs
- RichTextBoxAutomationPeer.cs
- Command.cs
- XDRSchema.cs
- MailFileEditor.cs
- EncryptedHeader.cs
- ZoneIdentityPermission.cs
- XmlCDATASection.cs
- TransformFinalBlockRequest.cs
- SequenceDesigner.xaml.cs
- Asn1IntegerConverter.cs
- EFTableProvider.cs
- InheritanceService.cs
- HelpKeywordAttribute.cs
- BindUriHelper.cs
- OutputCacheSettings.cs
- Color.cs
- ShaperBuffers.cs
- SmtpMail.cs
- BlobPersonalizationState.cs
- MailAddressCollection.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- TiffBitmapDecoder.cs
- TableLayoutPanelCellPosition.cs
- TemplateComponentConnector.cs
- ServiceContractListItemList.cs
- ColumnMapCopier.cs
- CorrelationValidator.cs
- Padding.cs
- EqualityArray.cs
- ComponentGlyph.cs
- OdbcUtils.cs
- PassportAuthentication.cs
- XPathItem.cs
- _ChunkParse.cs
- XamlRtfConverter.cs
- MD5CryptoServiceProvider.cs
- XmlDocumentFieldSchema.cs
- DoubleAnimation.cs
- XPathNavigatorKeyComparer.cs
- XPathPatternBuilder.cs
- Range.cs
- Matrix.cs
- DataControlFieldCollection.cs
- InteropEnvironment.cs
- IteratorFilter.cs
- ObjectSecurity.cs
- EventToken.cs
- CodeMemberMethod.cs
- HeaderPanel.cs