How to prevent Visual Studio incorrectly autocompleting LINQ predicates?
So I'm typing the following and Visual Studio (Intellisense?) always UTTERLY FAILS to do the right thing by attempting to autocomplete the predicate. How can this be fixed?
queryableThing.Select(o => o.Property);
The issue is that once you start typing "o", Visual Studio is CERTAIN that you meant OtherCompletelyIrrelevantThing. It's wrong, it will always be wrong. This is a predicate damnit and you should know that Visual Studio.
</rant>
0 comments:
Post a Comment