public __mapped class TestClass => Class{
}
public class TestCode{
public static void run(){
TestClass t = typeof(NSObject);
doSth(typeof(NSObject)); // ok
doSth(t); // compile error E486: Parameter 1 is "TestClass", should be "Class", in call to void TestCode.doSth(Class clz)
}
public static void doSth(Class clz){
}
}
App1.zip (111.5 KB)