I dont know if you are dealing with unity but if you are you many need to load the dll "mono-2.0-bdwgc.dll" instead of "mono.dll" because its what contains the desired functions under unity. An example of what i mean can be seen below.