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
- CollectionConverter.cs
- TextWriterTraceListener.cs
- HandledEventArgs.cs
- AnimationClock.cs
- FixedSOMTableRow.cs
- MemberInfoSerializationHolder.cs
- AuthenticationModulesSection.cs
- TrackingServices.cs
- LayoutInformation.cs
- OledbConnectionStringbuilder.cs
- ComplexTypeEmitter.cs
- Memoizer.cs
- IApplicationTrustManager.cs
- UpdateExpressionVisitor.cs
- CharEntityEncoderFallback.cs
- GradientStopCollection.cs
- OleDbRowUpdatedEvent.cs
- listitem.cs
- InvalidCastException.cs
- FormDesigner.cs
- Tracking.cs
- XmlRawWriterWrapper.cs
- WindowsMenu.cs
- CalculatedColumn.cs
- NativeMethods.cs
- WebPartChrome.cs
- ScaleTransform3D.cs
- SizeValueSerializer.cs
- Hashtable.cs
- SBCSCodePageEncoding.cs
- FileUtil.cs
- PropertyValidationContext.cs
- Input.cs
- dbdatarecord.cs
- SystemTcpConnection.cs
- wmiprovider.cs
- objectquery_tresulttype.cs
- InlineObject.cs
- EventSchemaTraceListener.cs
- DataGrid.cs
- ImageCodecInfo.cs
- TrackingMemoryStream.cs
- SqlExpander.cs
- WindowsServiceCredential.cs
- WebPartCatalogCloseVerb.cs
- HttpFileCollection.cs
- ToolStripContentPanelRenderEventArgs.cs
- ProjectionAnalyzer.cs
- EllipticalNodeOperations.cs
- BindingCompleteEventArgs.cs
- ButtonFieldBase.cs
- XPathEmptyIterator.cs
- QilGenerator.cs
- ConfigurationSectionGroupCollection.cs
- StringComparer.cs
- WindowsTreeView.cs
- MulticastNotSupportedException.cs
- cookiecollection.cs
- TriState.cs
- OptimizedTemplateContentHelper.cs
- CodeDelegateInvokeExpression.cs
- TabRenderer.cs
- WebPartHelpVerb.cs
- LayoutSettings.cs
- OleAutBinder.cs
- ReflectionHelper.cs
- TimeSpanStorage.cs
- PassportAuthentication.cs
- ClipboardProcessor.cs
- PropertyChangeTracker.cs
- RoutedEventHandlerInfo.cs
- RsaKeyIdentifierClause.cs
- ConnectionStringSettingsCollection.cs
- StylusPointDescription.cs
- ResourcePool.cs
- OleDbRowUpdatedEvent.cs
- RequestResizeEvent.cs
- Vector3DAnimationBase.cs
- UserNameSecurityTokenParameters.cs
- srgsitem.cs
- GridViewHeaderRowPresenter.cs
- SchemaImporterExtensionElement.cs
- ChangesetResponse.cs
- AppDomainUnloadedException.cs
- ToolZone.cs
- WorkflowItemsPresenter.cs
- XmlSchemaAnnotation.cs
- ItemChangedEventArgs.cs
- ConnectionOrientedTransportBindingElement.cs
- XmlHelper.cs
- _SecureChannel.cs
- Interfaces.cs
- DropSource.cs
- DataGridPageChangedEventArgs.cs
- objectquery_tresulttype.cs
- QueryOperationResponseOfT.cs
- SimpleTypeResolver.cs
- cookiecollection.cs
- AliasedExpr.cs
- ParsedAttributeCollection.cs