Skip to content
#

cil

Here are 61 public repositories matching this topic...

IL2C
MSDN-WhiteKnight
MSDN-WhiteKnight commented Feb 9, 2020

When outputting signature of entry point method as CIL assembler code, it should be marked with .entrypoint directive.

Example code:

using System;
using System.Reflection;
using CilBytecodeParser;

class Program
{    
    public static void Main(string[] args)
    {
        Console.WriteLine(CilAnalysis.MethodToText(MethodBase.GetCurrentMethod()));
        Console.ReadKey();

Improve this page

Add a description, image, and links to the cil topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cil topic, visit your repo's landing page and select "manage topics."

Learn more