tested on DMD32 D Compiler v2.077.1:
class C {}
pragma(msg, C.classinfo.create());
compile -> "object.Error@(0): Access Violation"
Comment #1 by b2.temp — 2018-01-01T15:48:57Z
It's like "typeid(C).create" except that in this case there's a valid error message. There's a single static "TypeInfo_Class" by class. "TypeInfo_Class"es are not designed to be created.
Comment #2 by robert.schadek — 2024-12-13T18:55:54Z