Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Get MethodBase from IL Method Name string

$
0
0

Hi!

I'm writing my own programming language in C# and I want use this feature for importing dotnet static methods.

I need to convert a string like `[mscorlib]System.Console.WriteLine(System.String)` to a MethodBase object. (I've seen codes like that given string in IL Disassemblers output after `callvirt` commands)

What's the easiest way? (I know the System.Reflection way I'm searching for a easier way)




Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>