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
- WindowVisualStateTracker.cs
- BooleanExpr.cs
- DateTimeStorage.cs
- UshortList2.cs
- HyperLinkColumn.cs
- TemplateBindingExtensionConverter.cs
- PackUriHelper.cs
- ContextMenu.cs
- autovalidator.cs
- QilParameter.cs
- SslStream.cs
- UriExt.cs
- SevenBitStream.cs
- MsmqIntegrationSecurityElement.cs
- SqlVersion.cs
- AnnouncementInnerClient11.cs
- XamlFrame.cs
- HitTestFilterBehavior.cs
- XPathSelectionIterator.cs
- MeasurementDCInfo.cs
- StrongNameMembershipCondition.cs
- _LocalDataStore.cs
- ProtocolsConfigurationEntry.cs
- ObjectDataSourceMethodEventArgs.cs
- WebPartConnectionsEventArgs.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- IndexedString.cs
- WebSysDefaultValueAttribute.cs
- TextServicesCompartmentEventSink.cs
- EditorPartChrome.cs
- ConfigPathUtility.cs
- FilteredAttributeCollection.cs
- ProtectedConfiguration.cs
- BasePropertyDescriptor.cs
- HttpAsyncResult.cs
- Transform3D.cs
- RegularExpressionValidator.cs
- Normalization.cs
- VirtualizingStackPanel.cs
- FilteredAttributeCollection.cs
- RegexInterpreter.cs
- JsonSerializer.cs
- SystemSounds.cs
- StrokeNodeEnumerator.cs
- MobileFormsAuthentication.cs
- CustomCredentialPolicy.cs
- TypeToken.cs
- TextRunCacheImp.cs
- HtmlHead.cs
- NeutralResourcesLanguageAttribute.cs
- TypeGeneratedEventArgs.cs
- BaseInfoTable.cs
- SmtpException.cs
- InternalEnumValidatorAttribute.cs
- HttpModuleActionCollection.cs
- FormsAuthenticationConfiguration.cs
- TrustLevelCollection.cs
- ScriptingJsonSerializationSection.cs
- ClientSettingsProvider.cs
- FontNameEditor.cs
- ObjectAssociationEndMapping.cs
- SortedDictionary.cs
- HMACSHA1.cs
- PkcsMisc.cs
- ConfigWriter.cs
- WindowsListViewSubItem.cs
- HandoffBehavior.cs
- Point4DConverter.cs
- WsatConfiguration.cs
- DataGridViewRowStateChangedEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- AspNetHostingPermission.cs
- ValuePattern.cs
- IMembershipProvider.cs
- WebBrowserNavigatingEventHandler.cs
- InternalSendMessage.cs
- SqlFacetAttribute.cs
- ZipFileInfoCollection.cs
- SqlReorderer.cs
- GradientStopCollection.cs
- PaintEvent.cs
- DateTimeParse.cs
- LogWriteRestartAreaState.cs
- DataGridViewComponentPropertyGridSite.cs
- CompilationRelaxations.cs
- Label.cs
- FormsAuthenticationModule.cs
- DPAPIProtectedConfigurationProvider.cs
- XmlSchemaAttributeGroupRef.cs
- X509CertificateClaimSet.cs
- FilterableAttribute.cs
- DeobfuscatingStream.cs
- ClientSettingsStore.cs
- GroupDescription.cs
- TaskFileService.cs
- FederatedMessageSecurityOverHttp.cs
- DateTimeConverter.cs
- SoapAttributes.cs
- EntityParameterCollection.cs
- BulletDecorator.cs