Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DifferencingCollection.cs
- TypedAsyncResult.cs
- contentDescriptor.cs
- EntityDataSourceChangedEventArgs.cs
- XamlToRtfParser.cs
- CheckBoxAutomationPeer.cs
- ExpressionVisitor.cs
- AssociationSet.cs
- FlowchartDesignerCommands.cs
- WindowsImpersonationContext.cs
- DrawingCollection.cs
- GridViewPageEventArgs.cs
- UnauthorizedAccessException.cs
- RequestCachePolicyConverter.cs
- ServiceThrottlingElement.cs
- HttpContext.cs
- GCHandleCookieTable.cs
- WindowsRichEdit.cs
- XamlBrushSerializer.cs
- QuaternionAnimation.cs
- InheritedPropertyChangedEventArgs.cs
- EventlogProvider.cs
- SystemIPInterfaceProperties.cs
- HttpResponseHeader.cs
- XmlSchemaSimpleTypeUnion.cs
- EndpointInfoCollection.cs
- DesignerInterfaces.cs
- SqlNodeTypeOperators.cs
- SoapFormatterSinks.cs
- LoginView.cs
- ForAllOperator.cs
- NativeMethods.cs
- SqlUserDefinedAggregateAttribute.cs
- MethodBuilderInstantiation.cs
- PerformanceCountersElement.cs
- State.cs
- MimeMultiPart.cs
- ToolBarPanel.cs
- NoResizeSelectionBorderGlyph.cs
- ConnectionInterfaceCollection.cs
- Matrix3DConverter.cs
- AsymmetricAlgorithm.cs
- CommandHelper.cs
- XmlSchemaIdentityConstraint.cs
- MimeMapping.cs
- BrowserInteropHelper.cs
- ClientOperation.cs
- WinFormsComponentEditor.cs
- PageAsyncTask.cs
- GridLengthConverter.cs
- PageRequestManager.cs
- RtfToXamlReader.cs
- ConnectionProviderAttribute.cs
- ColumnMapCopier.cs
- WebPartDisplayModeCancelEventArgs.cs
- SRGSCompiler.cs
- TextOutput.cs
- DeleteHelper.cs
- BmpBitmapEncoder.cs
- MimeObjectFactory.cs
- HiddenField.cs
- glyphs.cs
- __FastResourceComparer.cs
- FullTextBreakpoint.cs
- CodeIdentifiers.cs
- IriParsingElement.cs
- ToolStripItemTextRenderEventArgs.cs
- GeometryModel3D.cs
- RangeBase.cs
- ProxyAttribute.cs
- shaperfactory.cs
- PixelFormats.cs
- ToolBarPanel.cs
- JobCollate.cs
- TraceContext.cs
- DefinitionBase.cs
- RenderCapability.cs
- XmlIgnoreAttribute.cs
- AssemblyAssociatedContentFileAttribute.cs
- X509Chain.cs
- SimpleApplicationHost.cs
- HtmlGenericControl.cs
- XsdValidatingReader.cs
- EUCJPEncoding.cs
- StateMachineHelpers.cs
- BaseTreeIterator.cs
- IImplicitResourceProvider.cs
- KeyConstraint.cs
- PageContent.cs
- HttpListenerContext.cs
- WebServiceTypeData.cs
- KeyValueConfigurationCollection.cs
- ResourceProviderFactory.cs
- PeerInvitationResponse.cs
- Baml2006ReaderFrame.cs
- GestureRecognitionResult.cs
- SignatureHelper.cs
- WorkflowDesignerColors.cs
- BaseUriHelper.cs
- mediaeventargs.cs