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
- PublisherIdentityPermission.cs
- DataObjectAttribute.cs
- GridViewColumnCollection.cs
- DataGridViewIntLinkedList.cs
- ConstraintManager.cs
- PerfCounters.cs
- PathSegment.cs
- RichTextBox.cs
- SolidColorBrush.cs
- ProcessModule.cs
- SecurityTokenTypes.cs
- CategoryGridEntry.cs
- RemoteWebConfigurationHostServer.cs
- ChtmlImageAdapter.cs
- StrokeCollection2.cs
- GeneralTransform2DTo3D.cs
- ByteFacetDescriptionElement.cs
- PageClientProxyGenerator.cs
- LoginUtil.cs
- MatrixTransform.cs
- DispatchChannelSink.cs
- Vector3DAnimationUsingKeyFrames.cs
- FileDialogPermission.cs
- DetailsViewRowCollection.cs
- OperationSelectorBehavior.cs
- ScriptServiceAttribute.cs
- ECDsa.cs
- ButtonBaseAdapter.cs
- SQLByte.cs
- PropertyCollection.cs
- XmlPreloadedResolver.cs
- MDIClient.cs
- NotCondition.cs
- TextElementEditingBehaviorAttribute.cs
- ADMembershipProvider.cs
- StackOverflowException.cs
- ArgumentValidation.cs
- IisTraceWebEventProvider.cs
- XmlIgnoreAttribute.cs
- CustomAttributeFormatException.cs
- DomNameTable.cs
- CachedPathData.cs
- SqlGenericUtil.cs
- Light.cs
- NativeObjectSecurity.cs
- RawStylusInputCustomDataList.cs
- QueryStatement.cs
- RowParagraph.cs
- Viewport3DVisual.cs
- CookieProtection.cs
- LinqDataSourceDeleteEventArgs.cs
- TransformerTypeCollection.cs
- PublisherIdentityPermission.cs
- TextDocumentView.cs
- EdmType.cs
- OracleParameterCollection.cs
- LicenseContext.cs
- XamlStyleSerializer.cs
- PreviewPageInfo.cs
- ChooseAction.cs
- SqlDataSource.cs
- MetadataArtifactLoaderComposite.cs
- DataControlField.cs
- DeflateStream.cs
- GorillaCodec.cs
- RichTextBoxDesigner.cs
- ImportCatalogPart.cs
- PocoPropertyAccessorStrategy.cs
- ToggleButtonAutomationPeer.cs
- AuthenticationService.cs
- ObjectIDGenerator.cs
- DataGridViewCellPaintingEventArgs.cs
- DbDataRecord.cs
- AggregateNode.cs
- MetadataItemSerializer.cs
- ProfilePropertyNameValidator.cs
- OdbcInfoMessageEvent.cs
- ListBoxItemAutomationPeer.cs
- SerializationStore.cs
- XamlBrushSerializer.cs
- ObjectDataSourceEventArgs.cs
- ScaleTransform3D.cs
- Stackframe.cs
- TaiwanCalendar.cs
- TaskResultSetter.cs
- DNS.cs
- TogglePattern.cs
- ErrorStyle.cs
- WebPartEditorApplyVerb.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- TranslateTransform3D.cs
- WebBrowserPermission.cs
- ComponentEvent.cs
- GridViewAutomationPeer.cs
- CompositionAdorner.cs
- QueueProcessor.cs
- SQLStringStorage.cs
- DataTrigger.cs
- MsmqInputMessage.cs
- ArrangedElement.cs