Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / mda.cs / 1 / mda.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System.Runtime.CompilerServices; namespace System { #if MDA_SUPPORTED internal static class Mda { private enum MdaState { Unknown = 0, Enabled = 1, Disabled = 2 } private static MdaState _streamWriterMDAState = MdaState.Unknown; internal static bool StreamWriterBufferMDAEnabled { get { if (_streamWriterMDAState == 0) { if (IsStreamWriterBufferedDataLostEnabled()) _streamWriterMDAState = MdaState.Enabled; else _streamWriterMDAState = MdaState.Disabled; } return _streamWriterMDAState == MdaState.Enabled; } } [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void MemberInfoCacheCreation(); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void DateTimeInvalidLocalFormat(); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void StreamWriterBufferedDataLost(String text); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern bool IsStreamWriterBufferedDataLostEnabled(); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern bool IsInvalidGCHandleCookieProbeEnabled(); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void FireInvalidGCHandleCookieProbe(IntPtr cookie); } #endif } // 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
- AspCompat.cs
- DefaultDiscoveryService.cs
- IncrementalHitTester.cs
- RequiredAttributeAttribute.cs
- ThemeDictionaryExtension.cs
- NullableFloatMinMaxAggregationOperator.cs
- XmlSchemaException.cs
- EventBuilder.cs
- PnrpPermission.cs
- MSAAWinEventWrap.cs
- CollectionViewSource.cs
- ManagedWndProcTracker.cs
- ResourceCategoryAttribute.cs
- HMACRIPEMD160.cs
- FontSizeConverter.cs
- SnapshotChangeTrackingStrategy.cs
- GroupStyle.cs
- BindableAttribute.cs
- JsonGlobals.cs
- EntityViewContainer.cs
- DragDeltaEventArgs.cs
- DictionarySectionHandler.cs
- BindingCompleteEventArgs.cs
- Container.cs
- RoutedEventHandlerInfo.cs
- SymDocumentType.cs
- KeyMatchBuilder.cs
- _Win32.cs
- GridItemPatternIdentifiers.cs
- ScriptManager.cs
- DbConvert.cs
- activationcontext.cs
- SymmetricCryptoHandle.cs
- EntityStoreSchemaGenerator.cs
- UnknownWrapper.cs
- DBAsyncResult.cs
- TextFormattingConverter.cs
- StreamedFramingRequestChannel.cs
- AmbientLight.cs
- WeakReferenceKey.cs
- SmiRecordBuffer.cs
- HostSecurityManager.cs
- BoundsDrawingContextWalker.cs
- BmpBitmapDecoder.cs
- NavigateEvent.cs
- CompilerGlobalScopeAttribute.cs
- XmlDocumentFragment.cs
- PathFigureCollection.cs
- DataContractAttribute.cs
- CodeAssignStatement.cs
- DataViewSetting.cs
- AutomationProperty.cs
- XmlUnspecifiedAttribute.cs
- ListBindingConverter.cs
- PriorityQueue.cs
- BitmapCodecInfoInternal.cs
- IntegerFacetDescriptionElement.cs
- _LocalDataStoreMgr.cs
- WebScriptMetadataMessage.cs
- HeaderCollection.cs
- TextDecorationCollection.cs
- XPathParser.cs
- ComponentCache.cs
- ProviderConnectionPoint.cs
- MenuItemAutomationPeer.cs
- EventDescriptorCollection.cs
- XamlRtfConverter.cs
- XmlDataCollection.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- CompModSwitches.cs
- ObjectManager.cs
- Rotation3DAnimation.cs
- NativeMethods.cs
- RadioButtonList.cs
- SystemWebSectionGroup.cs
- ObjectDataSourceStatusEventArgs.cs
- DataPager.cs
- SQLBinary.cs
- WasEndpointConfigContainer.cs
- DomainUpDown.cs
- CombinedGeometry.cs
- CultureInfoConverter.cs
- SiteMapDesignerDataSourceView.cs
- TypeForwardedToAttribute.cs
- DataBoundLiteralControl.cs
- InvalidDataException.cs
- HuffmanTree.cs
- InstallHelper.cs
- StorageMappingItemCollection.cs
- CompiledQuery.cs
- HttpCacheParams.cs
- Column.cs
- IdentitySection.cs
- DocumentAutomationPeer.cs
- ModelPerspective.cs
- RoleGroup.cs
- InheritanceUI.cs
- LineGeometry.cs
- Roles.cs
- StylusPointCollection.cs