Merge pull request #853 from echampet/onclick
[mono.git] / mcs / class / corlib / ReferenceSources / CLRConfig.cs
1 ///------------------------------------------------------------------------------
2 /// <copyright file="CLRConfig.cs" company="Microsoft">
3 ///     Copyright (c) Microsoft Corporation.  All rights reserved.
4 /// </copyright>                               
5 ///
6 /// <owner>gpaperin</owner>
7 ///------------------------------------------------------------------------------
8
9 using System.Runtime.CompilerServices;
10 using System.Runtime.Versioning;
11 using System.Runtime.InteropServices;
12 using System.Security;
13
14 namespace System {
15         /// <summary>
16         /// For now, this class should be the central point to collect all managed declarations
17         /// of native functions designed to expose config switches.
18         /// In Dev11 M2.2 we will redesign this class to expose CLRConfig from within the CLR
19         /// and refactor managed Fx code to access all compat switches through here.
20         /// </summary>
21         [FriendAccessAllowed]
22         internal class CLRConfig {
23
24                 [FriendAccessAllowed]
25                 [System.Security.SecurityCritical]
26                 [ResourceExposure(ResourceScope.None)]
27                 [SuppressUnmanagedCodeSecurity]
28                 internal static bool CheckLegacyManagedDeflateStream()
29                 {
30                         return false;
31                 }
32
33                 [System.Security.SecurityCritical]
34                 [ResourceExposure(ResourceScope.None)]
35                 [SuppressUnmanagedCodeSecurity]
36                 internal static bool CheckThrowUnobservedTaskExceptions()
37                 {
38                         return false;
39                 }
40
41         }  // internal class CLRConfig
42
43 }  // namespace System
44
45 // file CLRConfig