dotnet/roslyn

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

Aberta

#11.084 aberto em 5 de mai. de 2016

 (2 comentários) (0 reação) (0 responsável)C# (4.257 forks)batch import
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted

Métricas do repositório

Stars
 (20.414 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador