mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Tests for new visibility rules
This commit is contained in:
parent
75dd1a4213
commit
46a7e0568d
4 changed files with 124 additions and 0 deletions
|
@ -1,7 +1,14 @@
|
|||
using System;
|
||||
|
||||
namespace LibB
|
||||
{
|
||||
class LibB0
|
||||
{
|
||||
public static int GetOverload0<T>() where T : var
|
||||
{
|
||||
T val = default;
|
||||
return Overload0(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,3 +33,11 @@ extension LibClassA
|
|||
return mB;
|
||||
}
|
||||
}
|
||||
|
||||
static
|
||||
{
|
||||
public static int Overload0(int16 a)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue