branchsbox/system-reflectioncancel

10 Commits over 0 Days - ∞cph!

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