summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/CompatibilitySwitches.cs
blob: 58dd640f88512ad4b62dbb9a362719a889af2644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Runtime.CompilerServices;

namespace System
{
    [FriendAccessAllowed]
    internal static class CompatibilitySwitches
    {
        private static bool s_AreSwitchesSet;

        public static bool IsCompatibilityBehaviorDefined
        {
            get
            {
                return s_AreSwitchesSet;
            }
        }

        internal static void InitializeSwitches()
        {
            s_AreSwitchesSet = true;
        }
    }
}