Skip to content

Commit

Permalink
Make CustomAttributeData.AttributeType virtual
Browse files Browse the repository at this point in the history
According to https://msdn.microsoft.com/en-us/library/system.reflection.customattributedata.attributetype%28v=vs.110%29.aspx, System.Reflection.CustomAttributeData.AttributeType is a virtual property.
  • Loading branch information
dlech committed Aug 29, 2015
1 parent a394f6b commit 489736e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/corlib/System.Reflection/CustomAttributeData.cs
Expand Up @@ -131,7 +131,7 @@ void ResolveArguments ()
return MonoCustomAttrs.GetCustomAttributesData (target);
}

public Type AttributeType {
public virtual Type AttributeType {
get { return ctorInfo.DeclaringType; }
}

Expand Down

0 comments on commit 489736e

Please sign in to comment.