summaryrefslogtreecommitdiff
path: root/src/vm/compatibilityswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/compatibilityswitch.h')
-rw-r--r--src/vm/compatibilityswitch.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/vm/compatibilityswitch.h b/src/vm/compatibilityswitch.h
new file mode 100644
index 0000000000..0d3922204e
--- /dev/null
+++ b/src/vm/compatibilityswitch.h
@@ -0,0 +1,26 @@
+// 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.
+
+
+
+#ifndef _COMPATIBILITYSWITCH_H_
+#define _COMPATIBILITYSWITCH_H_
+
+#include "object.h"
+#include "typehandle.h"
+#include "fcall.h"
+#include "field.h"
+#include "typectxt.h"
+
+class CompatibilitySwitch
+{
+public:
+ static FCDECL2(FC_BOOL_RET, IsEnabled, StringObject* switchNameUNSAFE, CLR_BOOL onlyDB);
+ static FCDECL2(StringObject*, GetValue, StringObject *switchNameUNSAFE, CLR_BOOL onlyDB);
+ static FCDECL0(StringObject*, GetAppContextOverrides);
+};
+
+
+#endif
+