Global namespace reference
I think we need something like
global::
that C# has to access the root namespace.
I am currently having difficulty with a class named View within the global namespace and another class named View in a particular namespace. Unfortunately, the class named View within the namespace uses the class named View in the global namespace, and the only way I can find to make this work at the moment is to create another variable called DataTypeView that is set to the View class in this way:
var DataTypeView = View;
But unfortunately, this doesn't work with generics, i.e. I can't do this:
var myValue = someGenericTypeMethod<DataTypeView>();
DataTypeView does not exist as a type to the intellisense (perhaps this is a bug or maybe I should be doing something else to make this work?).
Sorry, just found this: https://github.com/Microsoft/TypeScript/issues/983