File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -939,7 +939,7 @@ VOID MethodTableBuilder::BuildInteropVTable_PlaceMembers(
939939 }
940940 }
941941
942- if (Classification & mdcMethodImpl)
942+ if (Classification & mdcMethodImpl)
943943 { // If this method serves as the BODY of a MethodImpl specification, then
944944 // we should iterate all the MethodImpl's for this class and see just how many
945945 // of them this method participates in as the BODY.
@@ -2807,7 +2807,7 @@ VOID MethodTableBuilder::EnumerateClassMethods()
28072807 // on this type so we can just compare the tok with the body token found
28082808 // from the overrides.
28092809 for (DWORD impls = 0 ; impls < bmtMethodImpl->dwNumberMethodImpls ; impls++) {
2810- if ( bmtMethodImpl->rgMethodImplTokens [impls].methodBody == tok) {
2810+ if (( bmtMethodImpl->rgMethodImplTokens [impls].methodBody == tok) && ! IsMdStatic (dwMemberAttrs) ) {
28112811 Classification |= mdcMethodImpl;
28122812 break ;
28132813 }
You can’t perform that action at this time.
0 commit comments