// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if !FULL_AOT_RUNTIME
using System;
using System.Linq.Expressions;
namespace System.Runtime.CompilerServices {
-#if MOONLIGHT
+#if MOBILE_DYNAMIC
[Obsolete ("do not use this type", true)]
#endif
public class ExecutionScope {
public object [] Locals;
public ExecutionScope Parent;
-#if !MOONLIGHT
+#if !MOBILE_DYNAMIC
internal CompilationContext context;
#endif
internal int compilation_unit;
-#if !MOONLIGHT
+#if !MOBILE_DYNAMIC
ExecutionScope (CompilationContext context, int compilation_unit)
{
this.context = context;
#endif
public Delegate CreateDelegate (int indexLambda, object [] locals)
{
-#if MOONLIGHT
+#if MOBILE_DYNAMIC
throw new NotSupportedException ();
#else
return context.CreateDelegate (
public object [] CreateHoistedLocals ()
{
-#if MOONLIGHT
+#if MOBILE_DYNAMIC
throw new NotSupportedException ();
#else
return context.CreateHoistedLocals (compilation_unit);
public Expression IsolateExpression (Expression expression, object [] locals)
{
-#if MOONLIGHT
+#if MOBILE_DYNAMIC
throw new NotSupportedException ();
#else
return context.IsolateExpression (this, locals, expression);
}
}
}
+#endif