You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The spec has an omission; I believe we intended it to say that there is no// conversion from any old-style anonymous method expression to any expression tree// type. This is the rule the native compiler enforces; Roslyn should as well, and // we should clarify the specification.
with this test case
usingSystem;usingSystem.Linq.Expressions;classProgram{staticvoidMain(){Foo(delegate{});// No error; chooses the non-expression version.}staticvoidFoo(Actiona){}staticvoidFoo(Expression<Action>a){}}
The text was updated successfully, but these errors were encountered:
I found this in the Roslyn test sources:
with this test case
The text was updated successfully, but these errors were encountered: