consulo-csharp
consulo-csharp copied to clipboard
Support 'System.Linq.Expressions.Expression'
Hi. The following code works fine, but Consulo highlights expression as an error!
using System;
using System.Linq.Expressions;
public class TT {
public static void t() {
test(() => "test"); // here error
}
public static void test(Expression<Func<String>> a) {
}
}
Hi. I will check this issue in October. Sorry
Ok, importantly that it works;)
ref https://github.com/consulo/consulo-csharp/issues/307
Note for me
using System;
using System.Linq.Expressions;
public class TT {
public static void t() {
test(() => "test"); // here error
}
public static void test(Expression<Func<String>> a) {
}
public static void test(Func<Object> a) {
}
}
Will be error - two methods are resolved, but required one. Looks like they have same priority