Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MessageHeaderDescription.cs
- MimeAnyImporter.cs
- ResourcePermissionBase.cs
- EdmRelationshipRoleAttribute.cs
- PointConverter.cs
- NotFiniteNumberException.cs
- RangeBase.cs
- ConfigurationElement.cs
- EnumMember.cs
- Module.cs
- CodeAccessSecurityEngine.cs
- PolyQuadraticBezierSegment.cs
- HandledMouseEvent.cs
- BuildManagerHost.cs
- ContainerSelectorGlyph.cs
- XmlSchemaAppInfo.cs
- IdentityHolder.cs
- ArraySegment.cs
- ScopelessEnumAttribute.cs
- UserControlCodeDomTreeGenerator.cs
- SafeNativeMemoryHandle.cs
- SmtpReplyReaderFactory.cs
- RangeValuePattern.cs
- DefaultAutoFieldGenerator.cs
- TranslateTransform.cs
- SystemIcons.cs
- Message.cs
- DeploymentExceptionMapper.cs
- ListViewItemEventArgs.cs
- StreamSecurityUpgradeInitiator.cs
- Image.cs
- MethodExpr.cs
- ExpressionEditorAttribute.cs
- TrackingStringDictionary.cs
- GridViewColumnCollection.cs
- XmlMembersMapping.cs
- HttpBrowserCapabilitiesWrapper.cs
- DataGridSortCommandEventArgs.cs
- EventEntry.cs
- Point.cs
- AccessDataSourceView.cs
- SequenceDesignerAccessibleObject.cs
- FileStream.cs
- ApplicationSecurityManager.cs
- SourceElementsCollection.cs
- DragStartedEventArgs.cs
- StoragePropertyMapping.cs
- ToolStripControlHost.cs
- TreeNodeClickEventArgs.cs
- SQLSingleStorage.cs
- DesignerDataView.cs
- Socket.cs
- _LocalDataStore.cs
- PropertyPushdownHelper.cs
- DesignerHierarchicalDataSourceView.cs
- DataGridViewRowPrePaintEventArgs.cs
- PersonalizationProvider.cs
- xsdvalidator.cs
- MachineSettingsSection.cs
- TextStore.cs
- CurrencyWrapper.cs
- CodeCompiler.cs
- XmlSchemaProviderAttribute.cs
- HashSetDebugView.cs
- NavigationCommands.cs
- ReadOnlyDictionary.cs
- Exceptions.cs
- MultiView.cs
- ClientSettingsStore.cs
- EndEvent.cs
- DecimalAnimation.cs
- WindowInteropHelper.cs
- FragmentNavigationEventArgs.cs
- ReflectionHelper.cs
- PrivilegedConfigurationManager.cs
- KeyGestureConverter.cs
- ExtenderProviderService.cs
- WindowsIdentity.cs
- CodePageEncoding.cs
- SessionStateContainer.cs
- UInt32.cs
- ScriptIgnoreAttribute.cs
- ReadOnlyTernaryTree.cs
- CalendarDateChangedEventArgs.cs
- ConditionalAttribute.cs
- WmpBitmapEncoder.cs
- DefaultMemberAttribute.cs
- StateDesigner.CommentLayoutGlyph.cs
- RayHitTestParameters.cs
- RelationshipDetailsRow.cs
- DataGridRow.cs
- Utils.cs
- Bits.cs
- MetadataCache.cs
- DbParameterHelper.cs
- Sentence.cs
- ObjectHandle.cs
- Block.cs
- ArrayHelper.cs
- EmptyEnumerator.cs