We cannot access to the basetype of a class,
Its says: Whitelist Error: System.Private.CoreLib/System.Type.get_BaseType()
Its wasn't supposed that TypeLibrary provide a full whitelist of system.reflection ?
To Reproduce
foreach ( var type in TypeLibrary.GetTypes().Where( x => x.IsClass && !x.IsAbstract ) )
{
if ( type.TargetType.BaseType is not null )
{
Log.Info( type.TargetType.BaseType.Name );
}
}
Expected behavior
To be able to access the base type through the TargetType.BaseType
Describe the bug
We cannot access to the basetype of a class, Its says: Whitelist Error: System.Private.CoreLib/System.Type.get_BaseType()
Its wasn't supposed that
TypeLibrary
provide a full whitelist of system.reflection ?To Reproduce
Expected behavior
To be able to access the base type through the
TargetType.BaseType
Media/Files
No response
Additional context
No response