dotnet/roslyn

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

Open

#11.084 aperta il 5 mag 2016

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

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

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