diff options
author | jfrijters <jfrijters> | 2011-03-08 11:41:00 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-08 11:41:00 +0300 |
commit | 20ee69de0c8f7faada6a01cedde07f93d77efdbe (patch) | |
tree | b1a1a0906e9d7e41b74b5d1f0679bb0db7d9f5de /reflect/Writer | |
parent | 3a47da1a454860e4708e58c7da55c9b72a02a9c2 (diff) |
Added FieldBuilder.__SetReadOnlyDataAndRVA() to define read-only initialized data.
Diffstat (limited to 'reflect/Writer')
-rw-r--r-- | reflect/Writer/TextSection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/Writer/TextSection.cs b/reflect/Writer/TextSection.cs index 9b4a7eec..79d1fa7b 100644 --- a/reflect/Writer/TextSection.cs +++ b/reflect/Writer/TextSection.cs @@ -264,7 +264,7 @@ namespace IKVM.Reflection.Writer moduleBuilder.GenericParam.Fixup(moduleBuilder); moduleBuilder.CustomAttribute.Fixup(moduleBuilder); moduleBuilder.FieldLayout.Fixup(moduleBuilder); - moduleBuilder.FieldRVA.Fixup(moduleBuilder, sdataRVA); + moduleBuilder.FieldRVA.Fixup(moduleBuilder, sdataRVA, (int)this.MethodBodiesRVA); moduleBuilder.ImplMap.Fixup(moduleBuilder); moduleBuilder.MethodSpec.Fixup(moduleBuilder); moduleBuilder.GenericParamConstraint.Fixup(moduleBuilder); |