We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e24efd commit e4aaa5eCopy full SHA for e4aaa5e
Microsoft.Toolkit/Extensions/TypeExtensions.cs
@@ -139,7 +139,7 @@ private static Type[] GetGenericArguments(this Type type)
139
/// <param name="type">The input type.</param>
140
/// <param name="value">The type to check against.</param>
141
/// <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)
+ internal static bool IsInstanceOfType(this Type type, object value)
143
{
144
return type.GetTypeInfo().IsAssignableFrom(value.GetType().GetTypeInfo());
145
}
0 commit comments