mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 05:52:11 +00:00
This commit is contained in:
parent
24a627bb93
commit
2b16657fac
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ namespace Cosmos.IL2CPU {
|
||||||
// If its virtual, and its not final or sealed then we
|
// If its virtual, and its not final or sealed then we
|
||||||
// need to constanly watch for new descendant types which
|
// need to constanly watch for new descendant types which
|
||||||
// might have overrides.
|
// might have overrides.
|
||||||
if (aMethod.IsFinal || aMethod.DeclaringType.IsSealed) {
|
if (!aMethod.IsFinal && !aMethod.DeclaringType.IsSealed) {
|
||||||
mVirtuals.Add(aMethod);
|
mVirtuals.Add(aMethod);
|
||||||
//TODO: We end up adding many overrides of each virtual
|
//TODO: We end up adding many overrides of each virtual
|
||||||
//Would be great if we could not add descendant overrides
|
//Would be great if we could not add descendant overrides
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue