Imported Upstream version 5.16.0.112

Former-commit-id: 6cc2610f66eef3edea492b48d5312acef686f417
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-16 08:23:32 +00:00
parent 8622ac6ee2
commit 14c2d0c196
45 changed files with 64 additions and 35 deletions

View File

@ -250,5 +250,13 @@ namespace System
[MethodImplAttribute(MethodImplOptions.InternalCall)]
internal extern static IntPtr GetGenericParameterInfo (RuntimeType type);
internal static bool IsSubclassOf (RuntimeType childType, RuntimeType baseType)
{
return is_subclass_of (childType._impl.Value, baseType._impl.Value);
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
internal extern static bool is_subclass_of (IntPtr childType, IntPtr baseType);
}
}