summaryrefslogtreecommitdiff
path: root/src/vm/runtimehandles.cpp
diff options
context:
space:
mode:
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>2017-09-01 10:04:47 -0700
committerGitHub <noreply@github.com>2017-09-01 10:04:47 -0700
commit3d111d9e5f7804039764303509c78722a7c7e818 (patch)
tree2118f9f1a163fc0500f341c663c31c80cb34cc14 /src/vm/runtimehandles.cpp
parent8fae16552cc5efbb0b14804a097c4a0676967810 (diff)
downloadcoreclr-3d111d9e5f7804039764303509c78722a7c7e818.tar.gz
coreclr-3d111d9e5f7804039764303509c78722a7c7e818.tar.bz2
coreclr-3d111d9e5f7804039764303509c78722a7c7e818.zip
Update Type.GetMethods() to be generics friendly (#13745)
Update Type.GetMethods() to be generics friendly
Diffstat (limited to 'src/vm/runtimehandles.cpp')
-rw-r--r--src/vm/runtimehandles.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vm/runtimehandles.cpp b/src/vm/runtimehandles.cpp
index 39f221d0c0..952be6206e 100644
--- a/src/vm/runtimehandles.cpp
+++ b/src/vm/runtimehandles.cpp
@@ -2200,6 +2200,14 @@ FCIMPL1(FC_BOOL_RET, RuntimeMethodHandle::IsGenericMethodDefinition, MethodDesc
}
FCIMPLEND
+FCIMPL1(INT32, RuntimeMethodHandle::GetGenericParameterCount, MethodDesc * pMethod)
+{
+ FCALL_CONTRACT;
+
+ return pMethod->GetNumGenericMethodArgs();
+}
+FCIMPLEND
+
FCIMPL1(FC_BOOL_RET, RuntimeMethodHandle::IsDynamicMethod, MethodDesc * pMethod)
{
FCALL_CONTRACT;