Merge pull request #656 from LogosBible/collection_lock
[mono.git] / mcs / class / System.Core / System.Linq.Expressions / TypeBinaryExpression.cs
index 4463e4e8b29a754f90933b0e66db17edd3e3bacb..77f91e044d49a37e4f9d5b5a06f9aa5d58ea9b75 100644 (file)
@@ -27,7 +27,9 @@
 //
 
 using System;
+#if !FULL_AOT_RUNTIME
 using System.Reflection.Emit;
+#endif
 
 namespace System.Linq.Expressions {
 
@@ -51,6 +53,7 @@ namespace System.Linq.Expressions {
                        this.type_operand = type_operand;
                }
 
+#if !FULL_AOT_RUNTIME
                internal override void Emit (EmitContext ec)
                {
                        if (expression.Type == typeof (void)) {
@@ -63,5 +66,6 @@ namespace System.Linq.Expressions {
                        ec.ig.Emit (OpCodes.Ldnull);
                        ec.ig.Emit (OpCodes.Cgt_Un);
                }
+#endif
        }
 }