Inazuma.PetitClr.Core.Structure.MethodTableBuilder.CreateInterfacesFromTypeDef C# (CSharp) Method

CreateInterfacesFromTypeDef() private method

private CreateInterfacesFromTypeDef ( ) : Inazuma.PetitClr.Core.Structure.MethodTable[]
return Inazuma.PetitClr.Core.Structure.MethodTable[]
        private MethodTable[] CreateInterfacesFromTypeDef()
        {
            var parentInterfaces = _typeDefinition.BaseType != null ? _classLoader.LoadTypeFromTypeRef(_typeDefinition.BaseType).Interfaces : new MethodTable[0];
            return parentInterfaces.Concat(_typeDefinition.Interfaces.Select(x => BuildMethodTable(_classLoader, x.Resolve()))).ToArray();
        }