Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect optimization of Activator.CreateInstance (#50228)
We should not return "default" if there's a private parameterless constructor. GetDefaultConstructor only calls the default constructor in the C# sense (public parameterless ctor on a non-abstract class).
- Loading branch information