earlz
unread,Nov 11, 2012, 9:45:56 PM11/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mono-...@googlegroups.com
Hi, I'm trying to use Mono.Cecil to track down every single string in a .Net application. One of the problems I'm having is I can't seem to get the value of an initial field value when it's a string.
Example:
class Foo {
public string Bar="foobar"; //how to get foobar?
}
When I iterate over the Fields member of the Mono.Cecil type for Foo, I can get a reference to Bar, but it says it has an initial value of byte[0].
Any ideas how to get this?