diff options
author | jfrijters <jfrijters> | 2011-03-09 09:00:33 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-09 09:00:33 +0300 |
commit | 0d481c9d542c90b680f6b56a30115189056c9455 (patch) | |
tree | 967f69c9ae2f89859ebe2637961b072616dcebe3 /reflect/GenericWrappers.cs | |
parent | c28f581dc078a8a96af6c475fdc14c27a9c685a4 (diff) |
Added API extension FieldInfo.__GetFieldOnTypeDefinition().
Diffstat (limited to 'reflect/GenericWrappers.cs')
-rw-r--r-- | reflect/GenericWrappers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/reflect/GenericWrappers.cs b/reflect/GenericWrappers.cs index 97f6c782..2b04d3ae 100644 --- a/reflect/GenericWrappers.cs +++ b/reflect/GenericWrappers.cs @@ -328,6 +328,11 @@ namespace IKVM.Reflection field.__GetDataFromRVA(data, offset, length); } + public override FieldInfo __GetFieldOnTypeDefinition() + { + return field; + } + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { return field.GetCustomAttributesData(attributeType); |