Mono.CSharp.CompiledMethod Delegate
A delegate that can be used to invoke the compiled expression or statement.

Syntax

public delegate void CompiledMethod (ref object retvalue)

Parameters

retvalue
The return value.

Remarks

Since the Compile methods will compile statements and expressions into the same delegate, you can tell if a value was returned by checking whether the returned value is of type NoValueSet.

Requirements

Namespace: Mono.CSharp
Assembly: Mono.CSharp (in Mono.CSharp.dll)
Assembly Versions: 2.1.0.0