Partial namespace usings are not resolved correctly

SyntaxEditor .NET Languages Add-on for Windows Forms Forum

Posted 11 years ago by Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH
Version: 13.1.0310
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

In C# you can define usings without fully qualified names, if the using is inside of a namespace. However the .net add-on requires the fully qualified name.

namespace A
{
  namespace B
  {
    public class Foo { }
  }

  namespace C
  {
    using B;

    public class Bar
    {
      private Foo mFoo;
    }
  }
}


Best regards, Tobias Lingemann.

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Tobias,

Thanks for letting us know about this.  I see what you mean here.  Our newer implementation of the add-on in the WPF/Silverlight has a much more robust resolver implementation that is able to handle this sort of thing properly.  We hope to backport that to WinForms in the future so that all three platforms can be on the same improved codebase.


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.