File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,7 @@ public struct VTableComponent
31
31
public Declaration Declaration ;
32
32
33
33
/// Method declaration (if Kind == FunctionPointer).
34
- public Method Method
35
- {
36
- get
37
- {
38
- Debug . Assert ( Kind == VTableComponentKind . FunctionPointer ) ;
39
- return Declaration as Method ;
40
- }
41
- }
34
+ public Method Method => Declaration as Method ;
42
35
}
43
36
44
37
/// <summary>
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ private static List<VTableComponent> GatherVTableMethodEntries(VTableLayout layo
34
34
where component . Kind != VTableComponentKind . CompleteDtorPointer &&
35
35
component . Kind != VTableComponentKind . RTTI &&
36
36
component . Kind != VTableComponentKind . UnusedFunctionPointer &&
37
+ component . Kind != VTableComponentKind . OffsetToTop &&
37
38
component . Method != null
38
39
select component ) ;
39
40
You can’t perform that action at this time.
0 commit comments