[nem-en] Using: distinguishing between namespace and static class name

Igor Tkachev it at rsdn.ru
Tue Aug 1 04:42:29 CEST 2006


Hello devel-en,

As I promised before, integration questions are coming.
Here they go :)

Code:

using System.Xml;
using System.Console;

I need to distinguish somehow between namespaces and static classes.
I found method OnAfterUsingDirectiveParse (passes.n) taking parameters
that do not have anything I could use to figure out WTF I am parsing.

So, how can figure out what is that? Some little flag would be good
enough.

I am guessing my next question will be about namespace aliases:

using SC = System.Console;

-- 
Best regards,
 Igor                          mailto:it at rsdn.ru





More information about the devel-en mailing list