Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Misc / CoreSwitches.cs / 1305376 / 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
- URLMembershipCondition.cs
- PeerCollaborationPermission.cs
- RectAnimationBase.cs
- FlowDocumentScrollViewer.cs
- PeerCollaboration.cs
- KerberosReceiverSecurityToken.cs
- CompModSwitches.cs
- FixedBufferAttribute.cs
- TabItem.cs
- WebControl.cs
- IPEndPoint.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- SmiMetaData.cs
- InvalidMessageContractException.cs
- StorageBasedPackageProperties.cs
- ScrollProviderWrapper.cs
- _OSSOCK.cs
- RemotingServices.cs
- _HeaderInfoTable.cs
- HtmlShimManager.cs
- BatchWriter.cs
- MatrixCamera.cs
- SamlAssertion.cs
- RedistVersionInfo.cs
- DataGridViewRowsAddedEventArgs.cs
- QueryExpr.cs
- WebPartEditorOkVerb.cs
- UIElementPropertyUndoUnit.cs
- FilteredXmlReader.cs
- CqlIdentifiers.cs
- isolationinterop.cs
- SiteMembershipCondition.cs
- Floater.cs
- CodePropertyReferenceExpression.cs
- ColorConvertedBitmap.cs
- Walker.cs
- GridViewRowCollection.cs
- X509DefaultServiceCertificateElement.cs
- EnumMember.cs
- RecognizeCompletedEventArgs.cs
- BoolExpression.cs
- XmlSecureResolver.cs
- BoolExpression.cs
- PerspectiveCamera.cs
- DataSourceProvider.cs
- DummyDataSource.cs
- MruCache.cs
- LoginView.cs
- CursorConverter.cs
- OutputChannelBinder.cs
- RightsManagementProvider.cs
- ColorEditor.cs
- TreeViewDesigner.cs
- WebResourceUtil.cs
- DebugHandleTracker.cs
- DesignerForm.cs
- WebBrowserSiteBase.cs
- ProjectionPath.cs
- remotingproxy.cs
- ItemsChangedEventArgs.cs
- UIInitializationException.cs
- DynamicUpdateCommand.cs
- SchemaImporterExtensionElementCollection.cs
- ExpressionPrefixAttribute.cs
- SimpleFileLog.cs
- NetStream.cs
- TableRow.cs
- InvalidStoreProtectionKeyException.cs
- ProcessStartInfo.cs
- TrackingProfileCache.cs
- LineMetrics.cs
- TypeRestriction.cs
- FileDialogCustomPlacesCollection.cs
- LowerCaseStringConverter.cs
- InternalControlCollection.cs
- BrushConverter.cs
- ReceiveContext.cs
- FrameworkElement.cs
- ImportContext.cs
- StructuralType.cs
- FormatterServicesNoSerializableCheck.cs
- PrintDocument.cs
- NonDualMessageSecurityOverHttp.cs
- StylusPlugin.cs
- TextStore.cs
- LocalizedNameDescriptionPair.cs
- Translator.cs
- IItemContainerGenerator.cs
- Cursors.cs
- EditorPart.cs
- UrlPath.cs
- CompoundFileStorageReference.cs
- TakeOrSkipQueryOperator.cs
- GiveFeedbackEvent.cs
- PocoPropertyAccessorStrategy.cs
- CustomCategoryAttribute.cs
- AccessedThroughPropertyAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XmlSerializerFactory.cs
- COM2IDispatchConverter.cs