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
- AdPostCacheSubstitution.cs
- XamlSerializerUtil.cs
- Accessible.cs
- CubicEase.cs
- SettingsSection.cs
- SelectedDatesCollection.cs
- TimeZone.cs
- EntityDataSourceWrapper.cs
- CodeValidator.cs
- RewritingSimplifier.cs
- SafeBuffer.cs
- WS2007HttpBindingElement.cs
- CompressEmulationStream.cs
- ContractListAdapter.cs
- ListViewSelectEventArgs.cs
- DetailsViewCommandEventArgs.cs
- CfgParser.cs
- PointCollection.cs
- UIElement3DAutomationPeer.cs
- LineSegment.cs
- DataGridViewCellConverter.cs
- ApplicationManager.cs
- MetaModel.cs
- PageBuildProvider.cs
- SqlBulkCopy.cs
- FastEncoderWindow.cs
- Utilities.cs
- FastEncoder.cs
- ContextMenuAutomationPeer.cs
- ColorAnimationBase.cs
- ToolStripComboBox.cs
- ZipFileInfo.cs
- ApplicationServiceManager.cs
- PromptBuilder.cs
- DesignerAdapterAttribute.cs
- serverconfig.cs
- KnownColorTable.cs
- WorkflowDesignerMessageFilter.cs
- TypeBuilderInstantiation.cs
- XmlLanguage.cs
- DesignerToolStripControlHost.cs
- ConfigXmlComment.cs
- ObjectPersistData.cs
- WizardDesigner.cs
- ListViewPagedDataSource.cs
- CodeTypeDeclarationCollection.cs
- RootProfilePropertySettingsCollection.cs
- XamlClipboardData.cs
- Menu.cs
- _ListenerRequestStream.cs
- SHA1.cs
- DataFormats.cs
- ToolStripComboBox.cs
- WindowsAltTab.cs
- XmlSchemaSimpleTypeList.cs
- DisplayToken.cs
- HwndSourceParameters.cs
- SmtpMail.cs
- AnimationClock.cs
- EditorPartChrome.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- TopClause.cs
- X509SecurityTokenParameters.cs
- DesignerForm.cs
- TcpWorkerProcess.cs
- ItemDragEvent.cs
- PackageController.cs
- ServicePointManagerElement.cs
- SQLDecimal.cs
- UriWriter.cs
- TextEditorTables.cs
- MergeLocalizationDirectives.cs
- MaskedTextBox.cs
- SqlDataSourceStatusEventArgs.cs
- Console.cs
- QueryContinueDragEvent.cs
- PagedDataSource.cs
- ConstraintManager.cs
- Window.cs
- ellipse.cs
- WindowsBrush.cs
- TypeAccessException.cs
- HtmlWindowCollection.cs
- CodeAttributeDeclarationCollection.cs
- ListItemCollection.cs
- CompilerParameters.cs
- HtmlTableCellCollection.cs
- ValueQuery.cs
- FileClassifier.cs
- EntityDataSourceContainerNameItem.cs
- DelegateOutArgument.cs
- Baml2006KnownTypes.cs
- UrlMapping.cs
- ContentFilePart.cs
- ListViewEditEventArgs.cs
- EnumMember.cs
- RtfFormatStack.cs
- SqlBuilder.cs
- ListViewCancelEventArgs.cs
- DirectoryGroupQuery.cs