consulo / consulo-csharp

Languages: C#
Apache License 2.0
50 stars 6 forks source link

Improve highlight error if property is not found, but found method #505

Open VISTALL opened 6 years ago

VISTALL commented 6 years ago
namespace highlightError {
    public class HighError {

        public static void me() {
            HighError error = new HighError();

            error.Call().Trim();
            error.Call.Trim(); // Call resolved. Make better error - method found
        }

        public string Call() {
            return "";
        }
    }
}