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
- FrameworkElementFactory.cs
- PaintEvent.cs
- IODescriptionAttribute.cs
- WebPartDisplayModeEventArgs.cs
- SqlIdentifier.cs
- ReadOnlyMetadataCollection.cs
- CharacterHit.cs
- AssemblyBuilderData.cs
- FilterableAttribute.cs
- DesignerObject.cs
- EventHandlingScope.cs
- uribuilder.cs
- DesignRelationCollection.cs
- Interlocked.cs
- tibetanshape.cs
- SqlServices.cs
- OracleDataAdapter.cs
- ReflectionUtil.cs
- TreeNodeStyleCollectionEditor.cs
- CodeVariableDeclarationStatement.cs
- EntitySqlQueryBuilder.cs
- XPathSelectionIterator.cs
- Double.cs
- WeakEventTable.cs
- DrawTreeNodeEventArgs.cs
- DecimalFormatter.cs
- StringComparer.cs
- SmiEventStream.cs
- AttachedAnnotation.cs
- _FtpControlStream.cs
- SmtpClient.cs
- AdornerPresentationContext.cs
- ProcessHostServerConfig.cs
- UntrustedRecipientException.cs
- CssStyleCollection.cs
- nulltextcontainer.cs
- OAVariantLib.cs
- Exceptions.cs
- NativeMethods.cs
- EventBuilder.cs
- Error.cs
- ConfigurationValues.cs
- HyperLinkColumn.cs
- CodeSnippetExpression.cs
- ClientConfigPaths.cs
- EventManager.cs
- ComponentDispatcherThread.cs
- AssemblyBuilder.cs
- RotationValidation.cs
- BuildResult.cs
- SspiHelper.cs
- RuleProcessor.cs
- StorageMappingItemLoader.cs
- PropertyChangedEventArgs.cs
- cookiecollection.cs
- ValueType.cs
- DynamicPropertyHolder.cs
- TextBox.cs
- SiteMapProvider.cs
- CheckBoxRenderer.cs
- UTF7Encoding.cs
- SystemColorTracker.cs
- regiisutil.cs
- DateTimeEditor.cs
- SiteMapNodeItemEventArgs.cs
- Guid.cs
- MemoryPressure.cs
- OleDbPropertySetGuid.cs
- RegexStringValidator.cs
- BindUriHelper.cs
- EventListener.cs
- RegexWorker.cs
- WebPartCatalogCloseVerb.cs
- VisualStyleElement.cs
- ProcessModelSection.cs
- DataContractSerializerOperationBehavior.cs
- ReadWriteSpinLock.cs
- CommandDesigner.cs
- UnlockInstanceCommand.cs
- login.cs
- PowerStatus.cs
- TypedTableBase.cs
- DummyDataSource.cs
- Zone.cs
- _RequestCacheProtocol.cs
- SafeNativeMethodsMilCoreApi.cs
- TransactionManager.cs
- MemberAccessException.cs
- SyncOperationState.cs
- PeerNameRecordCollection.cs
- BrowserCapabilitiesCompiler.cs
- TrackBar.cs
- RowCache.cs
- StandardCommands.cs
- ViewStateModeByIdAttribute.cs
- ValidationResult.cs
- SeekStoryboard.cs
- EditingMode.cs
- AppSettingsExpressionBuilder.cs
- Math.cs