I haven't looked into it very closely, but did you find the StringHeap class in the Mono.Cecil.Metadata namespace? From the name that sound like it could do what you want. Also IIRC the string heap is not addressed by metadata tokens but only by index (byte location). According to the code, strings are UTF8-encoded zero-terminated bytes on the heap, accessed by start position. You could follow the references of that class (in the Cecil source code) to find out how you may be able to make use of it.
-- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
