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
- StrokeIntersection.cs
- listitem.cs
- Font.cs
- DefaultMemberAttribute.cs
- SByteStorage.cs
- DataObjectMethodAttribute.cs
- Calendar.cs
- IteratorFilter.cs
- Attachment.cs
- InlinedAggregationOperator.cs
- ReferenceEqualityComparer.cs
- MarkupWriter.cs
- TemplateControlBuildProvider.cs
- GridViewCellAutomationPeer.cs
- ProtocolElement.cs
- MergeLocalizationDirectives.cs
- DataControlCommands.cs
- SharedConnectionInfo.cs
- ToolStripDropDownMenu.cs
- transactioncontext.cs
- OleDbPropertySetGuid.cs
- AdapterSwitches.cs
- LazyTextWriterCreator.cs
- TextEditorCopyPaste.cs
- WebBrowsableAttribute.cs
- ConfigurationValues.cs
- WorkflowViewStateService.cs
- DateTimeHelper.cs
- Rect3DConverter.cs
- XmlWrappingWriter.cs
- CharacterBufferReference.cs
- COMException.cs
- TextEndOfLine.cs
- ClientSideQueueItem.cs
- AstTree.cs
- SspiHelper.cs
- WrapPanel.cs
- Style.cs
- listitem.cs
- DetailsView.cs
- PanningMessageFilter.cs
- SqlDataSourceCustomCommandPanel.cs
- Visual3D.cs
- SqlCacheDependency.cs
- OperationSelectorBehavior.cs
- CornerRadiusConverter.cs
- WS2007FederationHttpBindingCollectionElement.cs
- OracleParameter.cs
- DataTransferEventArgs.cs
- BufferedStream.cs
- Font.cs
- SecUtil.cs
- ZipIOExtraField.cs
- DynamicFilter.cs
- PersonalizableAttribute.cs
- DynamicPropertyHolder.cs
- LabelLiteral.cs
- MasterPageBuildProvider.cs
- SafeMarshalContext.cs
- PathGradientBrush.cs
- CommandValueSerializer.cs
- Point3DCollection.cs
- DbException.cs
- HtmlInputFile.cs
- PtsCache.cs
- FixedStringLookup.cs
- EmbeddedMailObjectsCollection.cs
- UserControlBuildProvider.cs
- XmlSchemaSimpleType.cs
- OverrideMode.cs
- pingexception.cs
- SqlConnectionStringBuilder.cs
- SecurityContext.cs
- SpellerStatusTable.cs
- XmlSerializerNamespaces.cs
- Point3DAnimationBase.cs
- KeyboardNavigation.cs
- SqlCacheDependencyDatabaseCollection.cs
- UIElement3D.cs
- ButtonBaseDesigner.cs
- HijriCalendar.cs
- ProviderException.cs
- EntityDataSourceMemberPath.cs
- DataGridViewColumnCollection.cs
- odbcmetadatacolumnnames.cs
- EventLogQuery.cs
- MatrixCamera.cs
- TraceUtility.cs
- GeometryModel3D.cs
- CaseInsensitiveHashCodeProvider.cs
- SessionEndedEventArgs.cs
- CodeDesigner.cs
- List.cs
- FieldTemplateUserControl.cs
- FontStretch.cs
- MarkupExtensionSerializer.cs
- ServiceInfoCollection.cs
- _HeaderInfo.cs
- TableLayoutPanel.cs
- Parameter.cs