Imported Upstream version 4.6.0.150

Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-23 13:20:38 +00:00
parent 02ac915603
commit b95516a3dd
239 changed files with 4096 additions and 1544 deletions

View File

@ -139,6 +139,13 @@ 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.
/// </summary>
@ -200,6 +207,13 @@ 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
/// supplied children. If all of the children are the same, it will