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
- InputProcessorProfiles.cs
- InputBinding.cs
- SerialReceived.cs
- ObjectDataSourceDisposingEventArgs.cs
- ToolStripArrowRenderEventArgs.cs
- SqlGenerator.cs
- DataSourceXmlAttributeAttribute.cs
- _HeaderInfoTable.cs
- StatusBarPanel.cs
- SecondaryIndex.cs
- Matrix3DValueSerializer.cs
- TextUtf8RawTextWriter.cs
- AnnotationResourceCollection.cs
- AQNBuilder.cs
- RectangleF.cs
- StringSource.cs
- ResourceCollectionInfo.cs
- ColorContextHelper.cs
- Component.cs
- CompoundFileStreamReference.cs
- IndicShape.cs
- ContainerSelectorBehavior.cs
- DoubleAnimation.cs
- InputLanguage.cs
- QuadraticBezierSegment.cs
- WmlLiteralTextAdapter.cs
- TrackingRecord.cs
- WebServiceTypeData.cs
- bidPrivateBase.cs
- UrlMappingCollection.cs
- QuaternionRotation3D.cs
- TreeNodeEventArgs.cs
- BuilderElements.cs
- StrokeCollectionDefaultValueFactory.cs
- EdmSchemaError.cs
- Listbox.cs
- Win32Exception.cs
- OrderPreservingPipeliningMergeHelper.cs
- DefaultPrintController.cs
- PropertySegmentSerializer.cs
- BorderGapMaskConverter.cs
- TextServicesPropertyRanges.cs
- GcHandle.cs
- ValuePattern.cs
- FileLoadException.cs
- DbMetaDataCollectionNames.cs
- RectangleGeometry.cs
- DataGridViewRowCollection.cs
- DataGridViewDataConnection.cs
- SecureConversationDriver.cs
- OraclePermissionAttribute.cs
- FeatureSupport.cs
- DataGridPageChangedEventArgs.cs
- DownloadProgressEventArgs.cs
- ContainerSelectorGlyph.cs
- WebPartDeleteVerb.cs
- CheckBox.cs
- RepeaterItemCollection.cs
- DataServices.cs
- TypeLoader.cs
- SafeCertificateStore.cs
- SecurityRuntime.cs
- CompositeDataBoundControl.cs
- ListViewItem.cs
- ComplexObject.cs
- ToolTipService.cs
- Matrix3D.cs
- TypeReference.cs
- MetafileHeader.cs
- ExtendedProperty.cs
- Vector3DCollectionValueSerializer.cs
- RuleSettingsCollection.cs
- GetIndexBinder.cs
- WebHttpSecurityElement.cs
- BamlResourceContent.cs
- util.cs
- CharacterMetricsDictionary.cs
- Row.cs
- AttachedPropertyInfo.cs
- OutputCacheSettings.cs
- _RequestCacheProtocol.cs
- ManifestSignatureInformation.cs
- PathStreamGeometryContext.cs
- WindowsFormsHostPropertyMap.cs
- FileAuthorizationModule.cs
- XmlAnyAttributeAttribute.cs
- SimpleTypesSurrogate.cs
- DbConnectionInternal.cs
- CmsInterop.cs
- TextReader.cs
- XPathParser.cs
- SwitchExpression.cs
- XmlReader.cs
- StyleXamlParser.cs
- GetBrowserTokenRequest.cs
- Int32Rect.cs
- RsaSecurityKey.cs
- FileSystemWatcher.cs
- SubqueryRules.cs
- EditorBrowsableAttribute.cs