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
- DataControlFieldHeaderCell.cs
- SafeReadContext.cs
- ImageField.cs
- httpapplicationstate.cs
- MethodCallTranslator.cs
- SuppressMergeCheckAttribute.cs
- FileChangesMonitor.cs
- ColumnCollection.cs
- StateBag.cs
- DataGrid.cs
- SecUtil.cs
- Rules.cs
- StorageMappingFragment.cs
- IteratorDescriptor.cs
- SettingsAttributeDictionary.cs
- ViewLoader.cs
- EpmCustomContentSerializer.cs
- ImageMap.cs
- XPathMultyIterator.cs
- SerializerProvider.cs
- EntityDataSourceState.cs
- DecimalMinMaxAggregationOperator.cs
- _IPv4Address.cs
- TextTreeUndoUnit.cs
- BookmarkWorkItem.cs
- SpnegoTokenAuthenticator.cs
- CacheSection.cs
- GroupQuery.cs
- Button.cs
- Ref.cs
- SQLInt32.cs
- CodeBlockBuilder.cs
- _Events.cs
- CssStyleCollection.cs
- PeerNameRegistration.cs
- HuffModule.cs
- HandlerWithFactory.cs
- SchemaExporter.cs
- XmlArrayItemAttributes.cs
- ScrollableControl.cs
- DataRowExtensions.cs
- QueryStack.cs
- SqlConnectionPoolProviderInfo.cs
- QuaternionKeyFrameCollection.cs
- RuntimeConfig.cs
- CounterSetInstance.cs
- ConfigsHelper.cs
- ProvideValueServiceProvider.cs
- PersonalizationDictionary.cs
- ToolStripPanel.cs
- CalendarTable.cs
- FormatConvertedBitmap.cs
- dbdatarecord.cs
- EventLogPermission.cs
- InheritanceService.cs
- TogglePatternIdentifiers.cs
- ListViewUpdatedEventArgs.cs
- ListBindableAttribute.cs
- ConstraintEnumerator.cs
- XPathDocumentBuilder.cs
- HttpContext.cs
- BypassElementCollection.cs
- JsonFormatWriterGenerator.cs
- PreviewPageInfo.cs
- DSASignatureFormatter.cs
- DataContract.cs
- ShaderEffect.cs
- SecurityContext.cs
- CqlWriter.cs
- Label.cs
- ListViewItem.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- CallContext.cs
- SelfIssuedTokenFactoryCredential.cs
- MostlySingletonList.cs
- InputScopeAttribute.cs
- COM2EnumConverter.cs
- TabItemWrapperAutomationPeer.cs
- NavigationProperty.cs
- TableLayoutSettingsTypeConverter.cs
- ClientEventManager.cs
- BasicCellRelation.cs
- DataObjectMethodAttribute.cs
- HttpModuleAction.cs
- AuthorizationContext.cs
- smtpconnection.cs
- StringArrayConverter.cs
- MessageSecurityOverHttpElement.cs
- MulticastOption.cs
- PreApplicationStartMethodAttribute.cs
- SmtpMail.cs
- XmlSchemas.cs
- DocumentXPathNavigator.cs
- ResourcePool.cs
- HttpCacheParams.cs
- RegexCharClass.cs
- QueryFunctions.cs
- BindingExpression.cs
- SqlRowUpdatedEvent.cs
- TimeoutException.cs