branchsbox/system-reflectioncancel
10 Commits over 0 Days - ∞cph!
Directly call constructor instead of using Activator.CreateInstance in TypeDescription
To make sure it's a whitelisted one
Ignore static constructor in constructor access check
Another constructor visibility check
Simplify TypeLibrary.Create<T> methods a bit
Do a more precise check for forbidden constructors
We were getting false positives with some widget types
First pass at adding allowed System.* members to TypeLibrary
Update MemberAccess test for system types
Fix TypeLibrary.GetType<T>()
It could return a random type that extended T, instead of T itself.
Fix asking AccessControl about MemberInfos
Fix TypeLibrary tests that assume a new library has no types in it
Better fix for TypeLibrary tests
Fix possible NRE in TypeLibrary.GetType( Type )
Simplify TypeLoader now that System types are in TypeLibrary
Tweaked MemberAccess test again
Double-check only public system members are included
Log included system types in MemberAccess test
Test for TypeDescription.Create<>() with forbidden constructors
Don't allow TypeDescription.Create<T> for types with forbidden constructors
Test for TypeDescription.Create<>() with forbidden constructors
Don't allow TypeDescription.Create<T> for types with forbidden constructors
Tweaked MemberAccess test again
Fix possible NRE in TypeLibrary.GetType( Type )
Simplify TypeLoader now that System types are in TypeLibrary
Better fix for TypeLibrary tests
First pass at adding allowed System.* members to TypeLibrary
Update MemberAccess test for system types
Fix TypeLibrary.GetType<T>()
It could return a random type that extended T, instead of T itself.
Fix asking AccessControl about MemberInfos
Fix TypeLibrary tests that assume a new library has no types in it