diff options
author | jfrijters <jfrijters> | 2010-04-19 09:26:28 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-04-19 09:26:28 +0400 |
commit | 24d6872c77bf1744b7369507f292526ae2af889e (patch) | |
tree | d49f822c8faf421fc4d761ea13586ee7909bfe97 /reflect/FieldInfo.cs | |
parent | 9762f5302c3fea83ae5472fb2a8b50d3690626f9 (diff) |
Made __GetDataFromRVA more generic by taking an offset and a length (to be able to reuse the byte array) and this also removes the need for the field type to have a StructLayout.
Diffstat (limited to 'reflect/FieldInfo.cs')
-rw-r--r-- | reflect/FieldInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/FieldInfo.cs b/reflect/FieldInfo.cs index 0344c56b..b64ea2c2 100644 --- a/reflect/FieldInfo.cs +++ b/reflect/FieldInfo.cs @@ -33,7 +33,7 @@ namespace IKVM.Reflection } public abstract FieldAttributes Attributes { get; } - public abstract void __GetDataFromRVA(byte[] data); + public abstract void __GetDataFromRVA(byte[] data, int offset, int length); public abstract Object GetRawConstantValue(); internal abstract FieldSignature FieldSignature { get; } |