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
- _AutoWebProxyScriptEngine.cs
- PeerNameRecordCollection.cs
- EventArgs.cs
- IPPacketInformation.cs
- TextContainer.cs
- XPathNavigatorKeyComparer.cs
- WebPartManagerInternals.cs
- HashMembershipCondition.cs
- PingOptions.cs
- PropertyValue.cs
- CompositeFontParser.cs
- Inline.cs
- ElementNotEnabledException.cs
- AutoFocusStyle.xaml.cs
- compensatingcollection.cs
- BaseResourcesBuildProvider.cs
- CallSiteHelpers.cs
- ProfilePropertyNameValidator.cs
- DataListItem.cs
- baseaxisquery.cs
- SecurityNegotiationException.cs
- UnescapedXmlDiagnosticData.cs
- PictureBox.cs
- precedingquery.cs
- PropertyGrid.cs
- HostedElements.cs
- ChangeBlockUndoRecord.cs
- ContainerVisual.cs
- DeploymentSection.cs
- ConfigXmlAttribute.cs
- Main.cs
- Thread.cs
- CommonXSendMessage.cs
- Variant.cs
- NamespaceCollection.cs
- ZoomPercentageConverter.cs
- StandardOleMarshalObject.cs
- TextServicesHost.cs
- MenuScrollingVisibilityConverter.cs
- WindowsStatic.cs
- CoreSwitches.cs
- Quaternion.cs
- ComponentChangingEvent.cs
- InternalCache.cs
- ApplicationFileParser.cs
- URI.cs
- ArrayExtension.cs
- DiscoveryDocumentSearchPattern.cs
- BitVec.cs
- WebBaseEventKeyComparer.cs
- ListViewSelectEventArgs.cs
- EventDescriptor.cs
- ErrorEventArgs.cs
- Version.cs
- CompilerGeneratedAttribute.cs
- EntityViewGenerator.cs
- JsonQNameDataContract.cs
- DefaultShape.cs
- WpfWebRequestHelper.cs
- CssStyleCollection.cs
- RSACryptoServiceProvider.cs
- ValidationRuleCollection.cs
- NullableFloatMinMaxAggregationOperator.cs
- DataPagerField.cs
- DrawingState.cs
- SystemEvents.cs
- HtmlTableRow.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ResourceCategoryAttribute.cs
- DataComponentNameHandler.cs
- ContextMenuAutomationPeer.cs
- MetafileHeader.cs
- MutexSecurity.cs
- SoapSchemaMember.cs
- OdbcConnectionString.cs
- AttachedAnnotation.cs
- StatusStrip.cs
- DiffuseMaterial.cs
- BaseDataList.cs
- BitmapCodecInfoInternal.cs
- ADMembershipUser.cs
- ProgressChangedEventArgs.cs
- NumberSubstitution.cs
- TimeoutException.cs
- PostBackOptions.cs
- ButtonRenderer.cs
- StyleBamlRecordReader.cs
- serverconfig.cs
- DigitShape.cs
- ObjectQueryProvider.cs
- MetadataArtifactLoaderCompositeResource.cs
- BitmapVisualManager.cs
- HttpSessionStateWrapper.cs
- ContainerUIElement3D.cs
- XmlSchemaImport.cs
- SetStateDesigner.cs
- OleDbParameterCollection.cs
- CodeCommentStatement.cs
- DataSetMappper.cs
- EntityWrapperFactory.cs