I'm trying to define a pair of type aliases at the top of my C# program. This is a short example of what I'm trying to do:
using System;
using System.Collections.Generic;
namespace Foo {
using TsvEntry = Dictionary<string, string>;
using Tsv = List<TsvEntry>;
}
When I try to compile this using mcs 3.2.8.0, I get the following error message:
foo.cs(6,19): error CS0246: The type or namespace name `TsvEntry' could not be found. Are you missing an assembly reference?
Is it possible to use using aliases within other aliases in C#, or am I missing something about the way using statements work?