This project is read-only.

GetSymbolInfo for query expressions when the method is a delegate


In this (stupid but valid) example:
class X { public Func<Func<int, int>, int> Select { get; set; } }

class C {
    void M() {
    X x = null;
        var e = from a in x select a;
when using GetSymbolInfo() on the "select a" node, the returned symbol is Func<Func<int, int>, int>.Invoke. Not exactly wrong, but not terribly useful, either. IMO it would be more useful to return the IPropertySymbol for X.Select instead.