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
- ToolStripSplitButton.cs
- AnonymousIdentificationSection.cs
- DragStartedEventArgs.cs
- RestHandlerFactory.cs
- AuthenticationService.cs
- EmptyStringExpandableObjectConverter.cs
- NameScopePropertyAttribute.cs
- XmlSchemaValidator.cs
- ImageFormat.cs
- LinqDataSourceView.cs
- PersonalizablePropertyEntry.cs
- StringDictionary.cs
- BitmapSizeOptions.cs
- DiscoveryViaBehavior.cs
- CompatibleComparer.cs
- GeneralTransformCollection.cs
- SqlCommand.cs
- EmptyEnumerator.cs
- HtmlTableRow.cs
- ClientProxyGenerator.cs
- AlignmentXValidation.cs
- DockPattern.cs
- DiscoveryService.cs
- TextBox.cs
- ControlLocalizer.cs
- SQLStringStorage.cs
- PersonalizableTypeEntry.cs
- DataSetUtil.cs
- ArrayWithOffset.cs
- URLString.cs
- Padding.cs
- XamlTemplateSerializer.cs
- WebPartUserCapability.cs
- ElapsedEventArgs.cs
- EventProviderWriter.cs
- TextTreeInsertElementUndoUnit.cs
- ImageButton.cs
- WinFormsSpinner.cs
- RegexCompiler.cs
- DataBoundControl.cs
- SystemColors.cs
- Convert.cs
- GetPageCompletedEventArgs.cs
- TaskFileService.cs
- BamlReader.cs
- ReferenceConverter.cs
- ConstraintCollection.cs
- EntityClientCacheEntry.cs
- ObjectManager.cs
- ListViewCancelEventArgs.cs
- ObjectTypeMapping.cs
- StrokeNodeOperations.cs
- XD.cs
- AffineTransform3D.cs
- StandardOleMarshalObject.cs
- EndPoint.cs
- ListViewGroupConverter.cs
- Enumerable.cs
- AdornerPresentationContext.cs
- ListItemConverter.cs
- Vector3DConverter.cs
- Binding.cs
- ProvidePropertyAttribute.cs
- Pool.cs
- NativeMethods.cs
- dataprotectionpermission.cs
- ResourceDictionaryCollection.cs
- TrackingCondition.cs
- GridViewDeleteEventArgs.cs
- OleDbPermission.cs
- IndexerHelper.cs
- HierarchicalDataBoundControl.cs
- ItemsChangedEventArgs.cs
- ComplexTypeEmitter.cs
- FixedSOMTable.cs
- InstanceDescriptor.cs
- TemplateControl.cs
- AssemblyNameProxy.cs
- EmptyQuery.cs
- SingleStorage.cs
- IDQuery.cs
- IndexingContentUnit.cs
- COM2ExtendedBrowsingHandler.cs
- DataFormat.cs
- LabelDesigner.cs
- DiscreteKeyFrames.cs
- NameScopePropertyAttribute.cs
- WebPartHeaderCloseVerb.cs
- ClockGroup.cs
- ClientType.cs
- RuntimeVariableList.cs
- CompositionAdorner.cs
- SuppressMergeCheckAttribute.cs
- DiscreteKeyFrames.cs
- DeflateStream.cs
- log.cs
- AuthenticationManager.cs
- ScrollProviderWrapper.cs
- KnownTypes.cs
- InputLangChangeRequestEvent.cs