Improve performance of Activator.CreateInstance (#32520)
- Use modern C# calli features to invoke allocator and ctor
- Share arg validation code between CreateInstance and GetUninitializedObject
- Improve exception message when CreateInstance fails
- Lay foundation for future work in Activator
Co-authored-by: NJan Kotas <jkotas@microsoft.com>
Showing
想要评论请 注册 或 登录