File tree 1 file changed +2
-2
lines changed
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(
939
939
}
940
940
}
941
941
942
- if (Classification & mdcMethodImpl)
942
+ if (Classification & mdcMethodImpl)
943
943
{ // If this method serves as the BODY of a MethodImpl specification, then
944
944
// we should iterate all the MethodImpl's for this class and see just how many
945
945
// of them this method participates in as the BODY.
@@ -2807,7 +2807,7 @@ VOID MethodTableBuilder::EnumerateClassMethods()
2807
2807
// on this type so we can just compare the tok with the body token found
2808
2808
// from the overrides.
2809
2809
for (DWORD impls = 0 ; impls < bmtMethodImpl->dwNumberMethodImpls ; impls++) {
2810
- if ( bmtMethodImpl->rgMethodImplTokens [impls].methodBody == tok) {
2810
+ if (( bmtMethodImpl->rgMethodImplTokens [impls].methodBody == tok) && ! IsMdStatic (dwMemberAttrs) ) {
2811
2811
Classification |= mdcMethodImpl;
2812
2812
break ;
2813
2813
}
You can’t perform that action at this time.
0 commit comments