Nested static using not being resolved correctly

Answered

This is an incredibly specific bug I found related to namespaces and nested static usings.

The following code compiles (targeting .NET framework 4.5.2) but the IDE marks it as an error. The IDE thinks 'Nested' is referring to the Test.Nested namespace instead of the Nested static class.

 

0
1 comment

Hi Nicholas!

Thanks a lot that you found out this bug.

I've created an issue. Please feel free to vote for it.

0

Please sign in to leave a comment.