branchsbox/system-reflectioncancel

10 Commits over 0 Days - ∞cph!

5 Months Ago
Directly call constructor instead of using Activator.CreateInstance in TypeDescription To make sure it's a whitelisted one
5 Months Ago
Ignore static constructor in constructor access check
5 Months Ago
Another constructor visibility check
5 Months Ago
Simplify TypeLibrary.Create<T> methods a bit Do a more precise check for forbidden constructors We were getting false positives with some widget types
5 Months Ago
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
5 Months Ago
Test for TypeDescription.Create<>() with forbidden constructors Don't allow TypeDescription.Create<T> for types with forbidden constructors
5 Months Ago
Tweaked MemberAccess test again
5 Months Ago
Fix possible NRE in TypeLibrary.GetType( Type ) Simplify TypeLoader now that System types are in TypeLibrary
5 Months Ago
Better fix for TypeLibrary tests
5 Months Ago
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