diff options
author | jfrijters <jfrijters> | 2010-05-20 13:25:30 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-05-20 13:25:30 +0400 |
commit | 118db6d04932a1f8c6191afe6fad119657a8eaf9 (patch) | |
tree | 346008fd1019235e7f9ca5aa61db228f29c8b300 /reflect/GenericWrappers.cs | |
parent | 651f73a9901296841c6e981a5b3185d6b70ff062 (diff) |
Implemented custom attribute filtering at the source. Added support for custom attribute sub typing.
Diffstat (limited to 'reflect/GenericWrappers.cs')
-rw-r--r-- | reflect/GenericWrappers.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/reflect/GenericWrappers.cs b/reflect/GenericWrappers.cs index 53824902..31fc0207 100644 --- a/reflect/GenericWrappers.cs +++ b/reflect/GenericWrappers.cs @@ -215,9 +215,9 @@ namespace IKVM.Reflection return method.GetGenericMethodArgumentCount(); } - internal override IList<CustomAttributeData> GetCustomAttributesData() + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { - return method.GetCustomAttributesData(); + return method.GetCustomAttributesData(attributeType); } internal override MethodInfo GetMethodOnTypeDefinition() @@ -308,9 +308,9 @@ namespace IKVM.Reflection field.__GetDataFromRVA(data, offset, length); } - internal override IList<CustomAttributeData> GetCustomAttributesData() + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { - return field.GetCustomAttributesData(); + return field.GetCustomAttributesData(attributeType); } internal override FieldSignature FieldSignature @@ -501,9 +501,9 @@ namespace IKVM.Reflection get { return property.MetadataToken; } } - internal override IList<CustomAttributeData> GetCustomAttributesData() + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { - return property.GetCustomAttributesData(); + return property.GetCustomAttributesData(attributeType); } internal override PropertyInfo BindTypeParameters(Type type) @@ -598,9 +598,9 @@ namespace IKVM.Reflection get { return eventInfo.MetadataToken; } } - internal override IList<CustomAttributeData> GetCustomAttributesData() + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { - return eventInfo.GetCustomAttributesData(); + return eventInfo.GetCustomAttributesData(attributeType); } internal override EventInfo BindTypeParameters(Type type) |