Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d965239

Browse files
committed
Fix PCL Error
1 parent 4391752 commit d965239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/ReflectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ public static ConstructorInfo GetEmptyConstructor(this Type type)
892892
#endif
893893
}
894894

895-
public static ConstructorInfo[] GetAllConstructors(this Type type)
895+
public static IEnumerable<ConstructorInfo> GetAllConstructors(this Type type)
896896
{
897897
#if (NETFX_CORE || PCL)
898898
return type.GetTypeInfo().DeclaredConstructors;

0 commit comments

Comments
 (0)