return LambdaCompiler.Compile(this, debugInfoGenerator);
}
+#if NETSTANDARD
+ public Delegate Compile(bool preferInterpretation) {
+ // TODO: add logic for preferInterpretation
+ return Compile();
+ }
+#endif
+
#if FEATURE_REFEMIT
/// <summary>
/// Compiles the lambda into a method definition.
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
/// supplied children. If all of the children are the same, it will