I do not know if it is supported; but because the syntax allows it, I was just trying if it would work.
In an existing unit, in the Interface part, I typed:
type MyTest nested in System.Data.SqlClient.SqlConnection = public class
And when I press the space after the word “class”, Visual Studio just disappears, without an error.
Oxygene version used: 2309