public static TypeSyntax ToListOfBuilderType(this NameSyntax nameSyntax) { return (GenericName(Names.ListGeneric) .AddTypeArgumentListArguments( nameSyntax.ToNestedBuilderType()) .WithNamespace(Names.ListGenericNamespace)); }