dotnet/roslyn

IntelliSense complaining about not being able to find a type at assignment to "var"

Aperta

#11.084 aperta il 5 mag 2016

 (2 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Not sure if this by design, but it feels wrong - there's nothing I can do resolve this at the callsite:

image

The real problem is the declaration:

image

I can get together a repro (it's convoluted), but just wanted to confirm if this by design or not.

Guida contributor