mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Improved virtual overrides in extensions
This commit is contained in:
parent
8a84647bcd
commit
e1d7939081
11 changed files with 116 additions and 11 deletions
|
@ -45,6 +45,19 @@ namespace LibA
|
|||
T val = default;
|
||||
return Overload0(val);
|
||||
}
|
||||
|
||||
public virtual int GetA()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
extension LibA0
|
||||
{
|
||||
public override int GetA()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
struct Handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue