Implementing CLR method invocation