dotnet/roslyn

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

Open

#11.084 aberto em 5 de mai. de 2016

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (4.257 forks)batch import
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted

Métricas do repositório

Stars
 (20.414 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

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