Top level statements: live code suggestion not working?

381 Views Asked by At

I saw a new feature, the Top level statements that simplifies the entry point of a console application

In Microsoft Docs

Yet one simple thing I am not able to get sugestions for: Using for namespaces outside this project

After adding the references in the console app's .csproj, I can normally add my using in any class I create:

using MyNameSpace.IsThis;

Typing Myname... will get Omnisharp to suggest me the namespace

But not in Main. Is this a bug? in c# or in the live compiler? I am able to add the using.

And interestingly, if I am using a namespace inside the same project, I get the suggestion while typing

1

There are 1 best solutions below

0
On

It was a bug , as Youssef13 pointed