diff options
author | Atsushi Kanamori <AtsushiKan@users.noreply.github.com> | 2017-06-13 23:52:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 23:52:14 +0300 |
commit | 90c510d7c62b53bef4713e940068635f06594486 (patch) | |
tree | 526aef5fe0e9f2c84c3bf9a7bf86bba4a920ec61 | |
parent | f34e790055e0f44fc635690eec5cab56f57c6641 (diff) |
Fix ToF regression in GetCurrentMethodGeneric() (#3871)
-rw-r--r-- | src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs index 03beae11c..c094df1c3 100644 --- a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs +++ b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs @@ -148,7 +148,7 @@ namespace System.Reflection.Runtime.MethodInfos { get { - return RuntimeNamedMethodInfo<TRuntimeMethodCommon>.GetRuntimeNamedMethodInfo(_common.RuntimeMethodCommonOfUninstantiatedMethod, _common.ContextTypeInfo); + return RuntimeNamedMethodInfo<TRuntimeMethodCommon>.GetRuntimeNamedMethodInfo(_common.RuntimeMethodCommonOfUninstantiatedMethod, _common.DefiningTypeInfo); } } |