-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When referencing a variable in an expression whose type is a public inner class the current code is using Type.IsNotPublic instead of !Type.IsPublic, and Type.IsNotPublic also includes public inner classes.
https://docs.microsoft.com/en-us/dotnet/api/system.type.isnotpublic?view=net-5.0
true if the Type is not declared public and is not a nested type; otherwise, false.
So wrapper accessor class code is triggered incorrectly, but not executed successfully because calling code uses Type.IsPublic.
| if (variable.Type.IsNotPublic && |
data-eval/Data_Eval/Data_Eval/Evaluator.cs
Line 316 in 2780863
| if (variable.Type.IsPublic) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working