[Mono-list] Executing Programmer-Specified Method from Within Mono

Hamza Karamali karamal@eecg.toronto.edu
Wed, 10 Mar 2004 10:58:25 -0500 (EST)


While compiling a certain method in mini_method_compile, I want to invoke
a method written in C# (I know the name) and pass as an argument to the
method a certain local variable (e.g. local[12]).  The C# method returns a
boolean, and I want to check the value of this returned result.

Can anyone give me any tips on how I can accomplish this?



PS: To make the scenario clearer, here is exactly what I'm doing

1. Mono is compiling methodA and is currently in the mini_method_compile

2. I want to invoke methodB *from within Mono*, and pass it as an argument
local[12], which is one of the local variables of methodA.

3. methodB returns a boolean.  I want to find out whether it returned true
or false.