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
- AssemblyResolver.cs
- BitmapMetadataBlob.cs
- connectionpool.cs
- Range.cs
- CreateUserWizard.cs
- ListBoxAutomationPeer.cs
- XmlQueryRuntime.cs
- TemplateBaseAction.cs
- CodeGotoStatement.cs
- TextProviderWrapper.cs
- WSSecurityXXX2005.cs
- BoolExpression.cs
- FixUp.cs
- IndependentAnimationStorage.cs
- MenuAutomationPeer.cs
- rsa.cs
- ObjectSerializerFactory.cs
- RangeValueProviderWrapper.cs
- CalendarBlackoutDatesCollection.cs
- ScrollBar.cs
- XmlNode.cs
- DocumentScope.cs
- FilterEventArgs.cs
- NonVisualControlAttribute.cs
- PTProvider.cs
- NameTable.cs
- SQLBytes.cs
- Int16Storage.cs
- IdnElement.cs
- Timer.cs
- CodeAccessSecurityEngine.cs
- CompareInfo.cs
- NestPullup.cs
- TemplateControl.cs
- CallContext.cs
- KeysConverter.cs
- SharedConnectionInfo.cs
- ObjectIDGenerator.cs
- HttpCapabilitiesBase.cs
- SignedXml.cs
- SqlUserDefinedAggregateAttribute.cs
- AnimationLayer.cs
- ConfigPathUtility.cs
- GacUtil.cs
- ErrorProvider.cs
- XPathBinder.cs
- QueueProcessor.cs
- CurrencyWrapper.cs
- CultureInfoConverter.cs
- LinqDataSourceDeleteEventArgs.cs
- PointConverter.cs
- TextInfo.cs
- BitFlagsGenerator.cs
- ListViewUpdatedEventArgs.cs
- PerformanceCountersElement.cs
- InfoCardClaim.cs
- SecureEnvironment.cs
- ZoomPercentageConverter.cs
- DependencyObjectPropertyDescriptor.cs
- ContainerControl.cs
- WebContext.cs
- XmlSchemaType.cs
- XmlSchemaInclude.cs
- EntityParameterCollection.cs
- TraceSection.cs
- Expressions.cs
- PreviewKeyDownEventArgs.cs
- Brush.cs
- RootDesignerSerializerAttribute.cs
- DirectoryObjectSecurity.cs
- DataTableMapping.cs
- COM2FontConverter.cs
- SchemaTableColumn.cs
- rsa.cs
- MsmqMessage.cs
- SQLDateTime.cs
- Parser.cs
- MsmqHostedTransportManager.cs
- TdsParserSafeHandles.cs
- ButtonColumn.cs
- lengthconverter.cs
- ThreadPool.cs
- AspCompat.cs
- Int64Animation.cs
- RuntimeCompatibilityAttribute.cs
- Roles.cs
- CalendarTable.cs
- Comparer.cs
- MeshGeometry3D.cs
- VoiceChangeEventArgs.cs
- ExecutionEngineException.cs
- SaveFileDialog.cs
- MethodSignatureGenerator.cs
- ToolboxCategory.cs
- RegexCompilationInfo.cs
- ServiceDesigner.cs
- WebRequestModuleElementCollection.cs
- WpfXamlType.cs
- CodePropertyReferenceExpression.cs
- LookupNode.cs