Skip to content

Commit 2e24efd

Browse files
Update Microsoft.Toolkit/Extensions/TypeExtensions.cs
Co-authored-by: Sergio Pedri <sergio0694@live.com>
1 parent 8b29a06 commit 2e24efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.Toolkit/Extensions/TypeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ tokens[0] is { } genericName &&
128128
/// </summary>
129129
/// <param name="type">The input type.</param>
130130
/// <returns>An array of types representing the generic arguments.</returns>
131-
public static Type[] GetGenericArguments(this Type type)
131+
private static Type[] GetGenericArguments(this Type type)
132132
{
133133
return type.GetTypeInfo().GenericTypeParameters;
134134
}

0 commit comments

Comments
 (0)