Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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 }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FieldToken.cs
- UriWriter.cs
- XmlNodeWriter.cs
- DrawingCollection.cs
- TraversalRequest.cs
- RegexWriter.cs
- ItemDragEvent.cs
- IteratorDescriptor.cs
- CheckedListBox.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PrintPreviewGraphics.cs
- FixedSOMPageElement.cs
- RTLAwareMessageBox.cs
- ColumnCollection.cs
- DocComment.cs
- EdmSchemaAttribute.cs
- SrgsElementList.cs
- BitVector32.cs
- CapabilitiesAssignment.cs
- DXD.cs
- PrintDocument.cs
- NativeRecognizer.cs
- InputProviderSite.cs
- DrawingVisualDrawingContext.cs
- RichTextBoxConstants.cs
- MailWebEventProvider.cs
- TypeDependencyAttribute.cs
- ErrorHandlerModule.cs
- ActivitySurrogate.cs
- AdapterUtil.cs
- PackUriHelper.cs
- HoistedLocals.cs
- CustomTypeDescriptor.cs
- InboundActivityHelper.cs
- StretchValidation.cs
- CodeNamespaceCollection.cs
- RepeatBehavior.cs
- ProgressPage.cs
- JapaneseCalendar.cs
- ServiceDeploymentInfo.cs
- TextBoxBase.cs
- LinqDataSourceStatusEventArgs.cs
- _ListenerRequestStream.cs
- SmiXetterAccessMap.cs
- OAVariantLib.cs
- WebConfigurationHostFileChange.cs
- SqlConnection.cs
- XmlFormatReaderGenerator.cs
- HMACMD5.cs
- RC2CryptoServiceProvider.cs
- WsdlBuildProvider.cs
- CodeNamespace.cs
- Label.cs
- DelayedRegex.cs
- LineServicesRun.cs
- PrimitiveDataContract.cs
- embossbitmapeffect.cs
- Parsers.cs
- PropertyMappingExceptionEventArgs.cs
- PathGeometry.cs
- ApplyImportsAction.cs
- WindowsStatic.cs
- DefaultValueTypeConverter.cs
- ColorComboBox.cs
- ObjectQueryState.cs
- AdPostCacheSubstitution.cs
- FastEncoder.cs
- XpsDocumentEvent.cs
- EDesignUtil.cs
- PreservationFileWriter.cs
- PlainXmlDeserializer.cs
- MemberInfoSerializationHolder.cs
- PassportAuthenticationModule.cs
- HttpWriter.cs
- MatrixTransform.cs
- GlobalItem.cs
- ProxyFragment.cs
- DataGridViewComboBoxColumn.cs
- SqlClientFactory.cs
- TableDetailsRow.cs
- PlaceHolder.cs
- CommandSet.cs
- FontDriver.cs
- XhtmlBasicSelectionListAdapter.cs
- CurrencyWrapper.cs
- CatalogPartChrome.cs
- ParameterSubsegment.cs
- UnauthorizedWebPart.cs
- WebContext.cs
- ProcessModelInfo.cs
- LoggedException.cs
- MenuItemStyle.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ActiveXHost.cs
- TableLayoutStyleCollection.cs
- TraceHandler.cs
- CompilerErrorCollection.cs
- FixedSOMLineCollection.cs
- GridEntryCollection.cs
- DataPagerField.cs