I've a ClassDeclarationSyntax from a syntax tree in roslyn. I read it like this:
var tree = SyntaxTree.ParseText(sourceCode);
var root = (CompilationUnitSyntax)tree.GetRoot();
var classes = root.DescendantNodes().OfType<ClassDeclarationSyntax>();
The identifier only contains the name of the class but no information about the namespace, so the fullType Name is missing. Like "MyClass" but noch "Namespace1.MyClass"
what is the recommended way to get the namespace / FulltypeName of the Syntax?