Open ppittle opened 9 years ago
Given an Attribute:
public class CustomAttribute : Attribute { public CustomAttribute(Type example){} public Type OtherType {get;set;} }
Given a Mixin:
public class Mixin { [CustomAttribute(typeof(object), OtherType = typeof(string)] public string Property{get;set;} }
Given a Target:
[pMixin(Mixin = typeof(Mixin))] public partial class Target{}
CustomAttribute is not correctly decorated mixed in Property.
CustomAttribute
Property
Is:
[CustomAttribute(null, OtherType = null)] public virtual global::string Property {}
Should be:
[CustomAttribute(typeof(object), OtherType = typeof(string))] public virtual global::string Property {}
Given an Attribute:
Given a Mixin:
Given a Target:
CustomAttribute
is not correctly decorated mixed inProperty
.Is:
Should be: