dotnet/roslyn

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

Open

#11,084 opened on 2016年5月5日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

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.

コントリビューターガイド