Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Misc / CoreSwitches.cs / 1305376 / 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
- ConvertEvent.cs
- SoapExtensionTypeElement.cs
- BaseTemplateParser.cs
- SchemaImporterExtensionsSection.cs
- HighlightComponent.cs
- GenericsNotImplementedException.cs
- LicenseProviderAttribute.cs
- DefaultTraceListener.cs
- TextView.cs
- FontCollection.cs
- AddressHeaderCollectionElement.cs
- ConfigXmlSignificantWhitespace.cs
- SafeArrayRankMismatchException.cs
- SqlServer2KCompatibilityAnnotation.cs
- CharStorage.cs
- SynchronizationLockException.cs
- WindowExtensionMethods.cs
- LogicalExpressionTypeConverter.cs
- TableRowCollection.cs
- xmlformatgeneratorstatics.cs
- RIPEMD160Managed.cs
- BaseTypeViewSchema.cs
- DefaultShape.cs
- StrokeNode.cs
- ScaleTransform3D.cs
- ApplicationFileParser.cs
- Zone.cs
- TypedElement.cs
- Rijndael.cs
- SpeechRecognizer.cs
- TreeNodeStyle.cs
- CollectionMarkupSerializer.cs
- StructuredTypeEmitter.cs
- DockProviderWrapper.cs
- AssemblyBuilder.cs
- RegexStringValidator.cs
- ClipboardData.cs
- SpoolingTask.cs
- FigureParagraph.cs
- CredentialCache.cs
- DrawingImage.cs
- CellTreeNodeVisitors.cs
- ComContractElement.cs
- HelpInfo.cs
- ListItemCollection.cs
- GeneralTransform3D.cs
- MouseGesture.cs
- XmlSchemaSet.cs
- ExpressionParser.cs
- CodeAttachEventStatement.cs
- ScriptManagerProxy.cs
- SlipBehavior.cs
- XmlSignificantWhitespace.cs
- RoutedUICommand.cs
- PolicyException.cs
- FileSecurity.cs
- ElementUtil.cs
- ComplexTypeEmitter.cs
- ListViewCommandEventArgs.cs
- UnionExpr.cs
- LinkClickEvent.cs
- WebBrowserNavigatingEventHandler.cs
- LineBreak.cs
- TranslateTransform.cs
- SafeArrayRankMismatchException.cs
- PerformanceCounterPermissionEntryCollection.cs
- Main.cs
- XhtmlMobileTextWriter.cs
- Helpers.cs
- VBCodeProvider.cs
- DesignColumnCollection.cs
- ContentIterators.cs
- ActivationArguments.cs
- GlyphsSerializer.cs
- SerializationAttributes.cs
- DateTimePickerDesigner.cs
- WindowsImpersonationContext.cs
- StyleHelper.cs
- ScrollableControl.cs
- PhonemeEventArgs.cs
- _ChunkParse.cs
- SpeechUI.cs
- ConstructorNeedsTagAttribute.cs
- ColorKeyFrameCollection.cs
- ButtonBaseAutomationPeer.cs
- ExceptionUtil.cs
- FileAuthorizationModule.cs
- AutomationInteropProvider.cs
- SQLInt32Storage.cs
- DynamicDiscoSearcher.cs
- BinaryReader.cs
- WebConfigurationManager.cs
- ServerIdentity.cs
- ArgumentsParser.cs
- MouseWheelEventArgs.cs
- BitmapDownload.cs
- StylusTouchDevice.cs
- PointAnimationUsingPath.cs
- XmlSchemaDatatype.cs
- RawStylusInputCustomData.cs