mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-27 12:08:00 +02:00
Hide internal generated methods from reflection, fix ctor/dtor names
This commit is contained in:
parent
70ab03529e
commit
078727c4a7
10 changed files with 73 additions and 15 deletions
|
@ -278,10 +278,10 @@ namespace Tests
|
|||
switch (methodIdx)
|
||||
{
|
||||
case 0:
|
||||
Test.Assert(methodInfo.Name == "__BfCtor");
|
||||
Test.Assert(methodInfo.Name == "this");
|
||||
Test.Assert(methodInfo.IsConstructor);
|
||||
case 1:
|
||||
Test.Assert(methodInfo.Name == "__BfStaticCtor");
|
||||
Test.Assert(methodInfo.Name == "this");
|
||||
Test.Assert(methodInfo.IsConstructor);
|
||||
case 2:
|
||||
Test.Assert(methodInfo.Name == "GetA");
|
||||
|
@ -509,7 +509,7 @@ namespace Tests
|
|||
switch (methodIdx)
|
||||
{
|
||||
case 0:
|
||||
Test.Assert(methodInfo.Name == "__BfCtor");
|
||||
Test.Assert(methodInfo.Name == "this");
|
||||
case 1:
|
||||
Test.Assert(methodInfo.Name == "GetA");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue