@ -206,7 +206,7 @@ namespace CppSharp.AST
public Method GetRootBaseMethod ( Method @override , bool onlyFirstBase = false )
public Method GetRootBaseMethod ( Method @override , bool onlyFirstBase = false )
{
{
return ( from @base in Bases
return ( from @base in Bases
where ! @base . Class . IsInterface
where ! onlyFirstBase | | ! @base . Class . IsInterface
let baseMethod = (
let baseMethod = (
from method in @base . Class . Methods
from method in @base . Class . Methods
where
where
@ -224,7 +224,7 @@ namespace CppSharp.AST
public Property GetRootBaseProperty ( Property @override , bool onlyFirstBase = false )
public Property GetRootBaseProperty ( Property @override , bool onlyFirstBase = false )
{
{
return ( from @base in Bases
return ( from @base in Bases
where ! @base . Class . IsInterface
where ! onlyFirstBase | | ! @base . Class . IsInterface
let baseProperty = (
let baseProperty = (
from property in @base . Class . Properties
from property in @base . Class . Properties
where
where