dotnet/roslyn
在 GitHub 查看IntelliSense complaining about not being able to find a type at assignment to "var"
Open
#11,084 创建于 2016年5月5日
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted
仓库指标
- Star
- (20,414 star)
- PR 合并指标
- (平均合并 6天 17小时) (30 天内合并 256 个 PR)
描述
Not sure if this by design, but it feels wrong - there's nothing I can do resolve this at the callsite:

The real problem is the declaration:

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