Why doesn't this compile in Unity 2018 C#?
namespace MyNS
{
using FooTable = Dictionary<int, float[]>;
using BarTable = Dictionary<int, FooTable>;
}
Likewise, if I omit the namespace:
using FooTable = System.Collections.Generic.Dictionary<int, float[]>;
using BarTable = System.Collections.Generic.Dictionary<int, FooTable>;
I get the same compiler error.
(Frankly I don't know why the Dictionary qualifiers are optional inside the namespace, yet mandatory outside!)
The compiler error is for the last symbol in the using BarTable... line: "Cannot resolve symbol FooTable".
Is it not possible to nest type aliases in this way?