Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2013-05-30 03:44:09 +0400
committerRolf Bjarne Kvinge <rolf@xamarin.com>2013-05-31 01:48:48 +0400
commit142b670dae9de0395cdb31c18be71920fb6147b2 (patch)
tree9cd54c6a945ee02346e9073256cb1b5af2dadccb /mcs
parent9015a7f6097ad391a9c212966341ef488510d0b7 (diff)
[System] Don't use System.Reflection.Emit if we're in a FullAOT runtime.
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System/System.Text.RegularExpressions/Regex.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System/System.Text.RegularExpressions/Regex.cs b/mcs/class/System/System.Text.RegularExpressions/Regex.cs
index 4748b403f54..f8c7de81348 100644
--- a/mcs/class/System/System.Text.RegularExpressions/Regex.cs
+++ b/mcs/class/System/System.Text.RegularExpressions/Regex.cs
@@ -31,7 +31,9 @@ using System;
using System.Text;
using System.Collections;
using System.Reflection;
+#if !FULL_AOT_RUNTIME
using System.Reflection.Emit;
+#endif
using System.Runtime.Serialization;
using RegularExpression = System.Text.RegularExpressions.Syntax.RegularExpression;