Join GitHub today
Metadata missing for Intellisense for constructor parameters #4738
IntelliSense either doesn't show or gives squiggles for the following:
Also there are a bunch of iOS ones that don't show up as well:
I am also seeing that on Android any of the "Application" ones are missing too.
There may be more.
Steps to Reproduce
They show up
They don't :(
My bad, I thought I'd added these notes a while ago. Anyway ...
For the Platform Specifics which don't show up in Intellisense (and get squiggles):
The problem is that some of them (the ones that don't work) have overloads, and it confuses Intellisense.
The attached property Intellisense follows the pattern for the getter (Get[PropertyName]) and finds the first method. No problem.
The ones that don't work look like this:
It follows the name pattern, but there are two matching methods. So it gives up/gets confused and decides it can't find the "property" on that type.
So one fix that works (I've tested this) - just rename the extension methods (the ones with
I think we could work around this by creating new methods, obsoleting the old ones, and marking the old ones with
If not, maybe there's some other kind of attribute we can decorate the correct methods with so that Intellisense can find them.