summaryrefslogtreecommitdiff
path: root/src/vm/method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/method.cpp')
-rw-r--r--src/vm/method.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vm/method.cpp b/src/vm/method.cpp
index 939cf7790c..3c2ba7d17f 100644
--- a/src/vm/method.cpp
+++ b/src/vm/method.cpp
@@ -218,15 +218,7 @@ BaseDomain *MethodDesc::GetDomain()
}
CONTRACTL_END
- if (HasMethodInstantiation() && !IsGenericMethodDefinition())
- {
- return BaseDomain::ComputeBaseDomain(GetMethodTable()->GetDomain(),
- GetMethodInstantiation());
- }
- else
- {
- return GetMethodTable()->GetDomain();
- }
+ return AppDomain::GetCurrentDomain();
}
#ifndef DACCESS_COMPILE