Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / referencesource / System.Core / Microsoft / Scripting / Ast / LambdaExpression.cs
index 3e70f3f8c7decb7165936e0dfecd27c366703d76..1318e3550a6db9eb21452141acb3f93af9617dfb 100644 (file)
@@ -139,12 +139,10 @@ namespace System.Linq.Expressions {
             return LambdaCompiler.Compile(this, debugInfoGenerator);
         }
 
-#if NETSTANDARD
         public Delegate Compile(bool preferInterpretation) {
             // TODO: add logic for preferInterpretation
             return Compile();
         }
-#endif
 
         /// <summary>
         /// Compiles the lambda into a method definition.
@@ -207,12 +205,10 @@ namespace System.Linq.Expressions {
             return (TDelegate)(object)LambdaCompiler.Compile(this, debugInfoGenerator);
         }
 
-#if NETSTANDARD
         public new TDelegate Compile(bool preferInterpretation) {
             // TODO: add logic for preferInterpretation
             return Compile();
         }
-#endif
 
         /// <summary>
         /// Creates a new expression that is like this one, but using the