[System] Don't use System.Reflection.Emit if we're in a FullAOT runtime.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 29 May 2013 23:44:09 +0000 (01:44 +0200)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Thu, 30 May 2013 21:48:48 +0000 (23:48 +0200)
mcs/class/System/System.Text.RegularExpressions/Regex.cs

index 4748b403f54aa0e4dd2edb841c92237acd432e6c..f8c7de813486431073fe9ce74c34ba01ff70f178 100644 (file)
@@ -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;