Hey,

On Mon, Nov 29, 2010 at 3:10 PM, webbie <[email protected]> wrote:
> Is this expected behavior and is there a way to work around this?

Yes.

The stream of instances returned by GetMemberReferences and
GetTypeReferences are not meant to be manipulated, they're just a view
of what was referenced in the module.

The reason for this is that for one row in the MemberRef table, Cecil
can instantiate multiple MethodReferences or FieldReferences based on
their generic context.

What you need to do is browse the method bodies and identify the
MemberReferences you want to update.

Jb

-- 
--
mono-cecil

Reply via email to