Open stephentoub opened 1 year ago
The problem here as I remember it is that we don't actually have the symbols here. We just have an index that says this is an extension method on T (no ability for constraints to encode anything we could test for viability efficiently).
@genlu for thoughts since he built the index
Version Used: Version 17.7.0 Preview 3.0 [33819.433.main]
Steps to Reproduce:
object o = new object();
o.A
to trigger IntelliSense to come up. It shows this:That method is defined as:
and obviously
System.Object
does not implementIAzureClientFactoryBuilderWithConfiguration<TConfiguration>
.Interestingly, if I add a
using Microsoft.Extensions.Azure;
, then IntelliSense correctly won't show this extension. If I remove the using, then it starts showing it again.