public static class Program
{
public int Main(int argc, AnsiChar** argv)
{
doSth(typeof(Program));
// actual log: doSth with name:(null)
// expected log: doSth with clz
}
public void doSth(string name){
NSLog($"doSth with name:{name}");
}
public void doSth(MyType clz){
NSLog("doSth with clz");
}
}
public __mapped class MyType => Class{
}
EmptyiOS.zip (110.8 KB)