Scans the AST for callable definitions and converts them to class definitions which inherit from System.MulticastDelegate, and adds the definition of the Invoke and BeginInvoke methods. These are later filled in by the CLR.
That is, if the code before the step looks like this:
callable MyCallable(arg as int) as bool
It will be transformed to this:
class MyCallable(MulticastDelegate): def Invoke(arg as int) as bool: pass def BeginInvoke(arg as int, state as object, callaback as AsyncCallback): pass
and so on.