diff --git a/Parse/Internal/ReflectionHelpers.cs b/Parse/Internal/ReflectionHelpers.cs index 32ca57c9..6d99ccf5 100644 --- a/Parse/Internal/ReflectionHelpers.cs +++ b/Parse/Internal/ReflectionHelpers.cs @@ -47,9 +47,10 @@ internal static bool IsConstructedGenericType(this Type type) { #endif } - internal static IEnumerable GetConstructors(this Type type) { -#if UNITY - return type.GetConstructors(); + internal static IEnumerable GetConstructors(this Type type) { +#if UNITY + BindingFlags searchFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance; + return type.GetConstructors(searchFlags); #else return type.GetTypeInfo().DeclaredConstructors .Where(c => (c.Attributes & MethodAttributes.Static) == 0);