summaryrefslogtreecommitdiff
path: root/src/vm/methodtable.cpp
diff options
context:
space:
mode:
authorAaron Robinson <arobins@microsoft.com>2019-04-19 09:05:23 -0700
committerGitHub <noreply@github.com>2019-04-19 09:05:23 -0700
commitdf6b6f621898915e5a8ba0579c2dc8a6a6cd6ec3 (patch)
treebcb34fca0b47715049fed1dc69b25667d7c185f6 /src/vm/methodtable.cpp
parent4049a3e9bb28eb4ed7963adf691e2a58a982eb32 (diff)
downloadcoreclr-df6b6f621898915e5a8ba0579c2dc8a6a6cd6ec3.tar.gz
coreclr-df6b6f621898915e5a8ba0579c2dc8a6a6cd6ec3.tar.bz2
coreclr-df6b6f621898915e5a8ba0579c2dc8a6a6cd6ec3.zip
Block usage of default interfaces feature in COM scenarios (#23970)
* Block default interface usage in COM scenarios Add additional test cases and move some CCW functions to a more consolidated layout.
Diffstat (limited to 'src/vm/methodtable.cpp')
-rw-r--r--src/vm/methodtable.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vm/methodtable.cpp b/src/vm/methodtable.cpp
index 3223715668..27083b0c40 100644
--- a/src/vm/methodtable.cpp
+++ b/src/vm/methodtable.cpp
@@ -8227,6 +8227,14 @@ DWORD MethodTable::HasFixedAddressVTStatics()
}
//==========================================================================================
+BOOL MethodTable::HasOnlyAbstractMethods()
+{
+ LIMITED_METHOD_CONTRACT;
+
+ return GetClass()->HasOnlyAbstractMethods();
+}
+
+//==========================================================================================
WORD MethodTable::GetNumHandleRegularStatics()
{
LIMITED_METHOD_CONTRACT;