public static TypeNode GetTypeNodeFromType(Type type) { return(AssemblyNode.GetModule(type.Assembly.Location).GetType( Identifier.For(type.Namespace), Identifier.For(type.Name))); }