Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- QueueProcessor.cs
- PropagatorResult.cs
- RequestCachePolicyConverter.cs
- MetadataAssemblyHelper.cs
- MaskedTextProvider.cs
- SerializationAttributes.cs
- TextBox.cs
- WindowCollection.cs
- ToolboxItemCollection.cs
- LineBreakRecord.cs
- PathParser.cs
- XmlLanguage.cs
- StylusPointPropertyId.cs
- HtmlImage.cs
- TextBounds.cs
- _FtpControlStream.cs
- NativeMethods.cs
- HtmlTitle.cs
- TypeResolver.cs
- Resources.Designer.cs
- RoleService.cs
- InternalConfigEventArgs.cs
- WebInvokeAttribute.cs
- Compiler.cs
- IgnoreFlushAndCloseStream.cs
- HttpServerUtilityWrapper.cs
- TextEditorTables.cs
- TargetControlTypeAttribute.cs
- RootCodeDomSerializer.cs
- AudioFormatConverter.cs
- Pts.cs
- UserPersonalizationStateInfo.cs
- WebPartEditVerb.cs
- SqlNodeAnnotation.cs
- NullPackagingPolicy.cs
- KeyedCollection.cs
- TextEditorCharacters.cs
- GacUtil.cs
- FocusManager.cs
- basecomparevalidator.cs
- DerivedKeySecurityToken.cs
- MethodAccessException.cs
- Interlocked.cs
- TraceSection.cs
- Soap.cs
- HttpStreamFormatter.cs
- TextRangeAdaptor.cs
- XmlArrayAttribute.cs
- PrintPreviewDialog.cs
- SystemSounds.cs
- InkCanvas.cs
- MediaEntryAttribute.cs
- SynchronizedInputProviderWrapper.cs
- UpdatePanelControlTrigger.cs
- Gdiplus.cs
- SqlDuplicator.cs
- ApplicationServiceHelper.cs
- SspiHelper.cs
- Item.cs
- VoiceInfo.cs
- XmlToDatasetMap.cs
- XhtmlBasicValidatorAdapter.cs
- SQLDoubleStorage.cs
- ClientRolePrincipal.cs
- FrameSecurityDescriptor.cs
- FloaterParagraph.cs
- FileChangesMonitor.cs
- TextRangeBase.cs
- SerialStream.cs
- PolyQuadraticBezierSegment.cs
- NativeMethods.cs
- StringHelper.cs
- CqlQuery.cs
- MimeObjectFactory.cs
- RepeatButtonAutomationPeer.cs
- GridViewUpdatedEventArgs.cs
- ChangeConflicts.cs
- ToolStripControlHost.cs
- PriorityQueue.cs
- QueryStringHandler.cs
- InfoCardTraceRecord.cs
- ArraySet.cs
- ClientConfigurationHost.cs
- HandlerWithFactory.cs
- ConfigurationLocation.cs
- PasswordPropertyTextAttribute.cs
- ExpressionBinding.cs
- RequiredAttributeAttribute.cs
- SafeBitVector32.cs
- ProxyAttribute.cs
- PropertyEntry.cs
- PropertyPushdownHelper.cs
- Constants.cs
- peersecuritysettings.cs
- LockRecursionException.cs
- VirtualDirectoryMapping.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ExtentKey.cs
- CodeGroup.cs