1
0
Fork 0
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:
Brian Fiete 2023-10-10 13:20:35 -07:00
parent 70ab03529e
commit 078727c4a7
10 changed files with 73 additions and 15 deletions

View file

@ -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");