1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Added extern method override support in extensions

This commit is contained in:
Brian Fiete 2020-10-23 11:48:37 -07:00
parent 1e020dc14e
commit 101fde1a4b
8 changed files with 99 additions and 35 deletions

View file

@ -133,9 +133,13 @@ class LibClassA
return 30;
}
public extern int GetVal4();
public static LibClassA Create()
{
return new LibClassA();
LibClassA ca = new LibClassA();
Test.Assert(ca.GetVal4() == 29);
return ca;
}
}