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
- COMException.cs
- SelectionItemPatternIdentifiers.cs
- GroupItem.cs
- QueryStringParameter.cs
- WebServiceEnumData.cs
- StreamUpdate.cs
- SqlProfileProvider.cs
- TextTreeTextBlock.cs
- KeyedHashAlgorithm.cs
- TagNameToTypeMapper.cs
- BitmapEffectRenderDataResource.cs
- PageStatePersister.cs
- FilterQueryOptionExpression.cs
- Size.cs
- ImageListStreamer.cs
- SqlFormatter.cs
- TextViewBase.cs
- GPPOINT.cs
- Set.cs
- RegexTypeEditor.cs
- MessageDecoder.cs
- TextRunCache.cs
- XmlQueryOutput.cs
- StdValidatorsAndConverters.cs
- SetStateEventArgs.cs
- SqlNotificationEventArgs.cs
- PolyLineSegmentFigureLogic.cs
- DeclarativeExpressionConditionDeclaration.cs
- XmlIlVisitor.cs
- IntranetCredentialPolicy.cs
- DataGridViewCellConverter.cs
- IconConverter.cs
- LineBreakRecord.cs
- LineInfo.cs
- ObjectDataSourceChooseMethodsPanel.cs
- CodeSnippetCompileUnit.cs
- PassportAuthenticationEventArgs.cs
- GacUtil.cs
- MetafileHeaderWmf.cs
- MemberPath.cs
- DBSchemaRow.cs
- PartManifestEntry.cs
- LocalBuilder.cs
- UpdateExpressionVisitor.cs
- MetadataSerializer.cs
- CheckPair.cs
- AssemblyCollection.cs
- Sql8ExpressionRewriter.cs
- SQLInt16Storage.cs
- ObjectToken.cs
- RegexBoyerMoore.cs
- SHA1.cs
- SecurityElement.cs
- Currency.cs
- BuildDependencySet.cs
- EmptyEnumerable.cs
- NameValueCollection.cs
- ExpressionValueEditor.cs
- RepeaterItemEventArgs.cs
- IxmlLineInfo.cs
- DataGridViewImageColumn.cs
- DataServiceProviderMethods.cs
- ColumnCollectionEditor.cs
- ReadContentAsBinaryHelper.cs
- WindowHideOrCloseTracker.cs
- OracleInternalConnection.cs
- BehaviorService.cs
- Registry.cs
- HealthMonitoringSection.cs
- DrawingImage.cs
- ChannelBinding.cs
- CodeMemberEvent.cs
- TextTreeText.cs
- HwndProxyElementProvider.cs
- DependencyObjectPropertyDescriptor.cs
- Label.cs
- SplitContainerDesigner.cs
- SqlNamer.cs
- Number.cs
- UICuesEvent.cs
- SelectionRange.cs
- SpeechRecognizer.cs
- PhysicalAddress.cs
- PreProcessor.cs
- BrushConverter.cs
- GeneralTransformGroup.cs
- RuntimeWrappedException.cs
- Property.cs
- CommandID.cs
- TableRow.cs
- FontUnit.cs
- PropertyDescriptorCollection.cs
- DynamicQueryableWrapper.cs
- ThreadStaticAttribute.cs
- EventLogConfiguration.cs
- mediapermission.cs
- DependencyObject.cs
- CodePropertyReferenceExpression.cs
- EFAssociationProvider.cs
- PauseStoryboard.cs