ppittle / pMixins

pMixins - Mixin framework for C#
http://pMixins.com
Apache License 2.0
23 stars 5 forks source link

Non abstract Mixin with Abstract base class - member is imported as abstract. #21

Closed ppittle closed 10 years ago

ppittle commented 10 years ago

From code below, Target should not need to create BaseClassMethodImplementation

    public abstract class SomeBaseClass
    {
        public abstract string BaseClassMethod();
    }

    public class Mixin : SomeBaseClass
    {
        public override string BaseClassMethod()
        {
            return "Base Class";
        }
    }

    [pMixin(Mixin = typeof(Mixin))]
    public partial class Target
    {
        public string BaseClassMethodImplementation()
        {
            throw new NotImplementedException();
        }
    }
ppittle commented 10 years ago

Fixed