Skip to content

Commit e4aaa5e

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

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
@@ -139,7 +139,7 @@ private static Type[] GetGenericArguments(this Type type)
139139
/// <param name="type">The input type.</param>
140140
/// <param name="value">The type to check against.</param>
141141
/// <returns>True if it is <paramref name="type"/> is an instance of <paramref name="value"/> false if not.</returns>
142-
public static bool IsInstanceOfType(this Type type, object value)
142+
internal static bool IsInstanceOfType(this Type type, object value)
143143
{
144144
return type.GetTypeInfo().IsAssignableFrom(value.GetType().GetTypeInfo());
145145
}

0 commit comments

Comments
 (0)