-
-
Save SriramSakthivel/bb1caf9b3ab06429b972 to your computer and use it in GitHub Desktop.
IL for the CallOrCallVirt.cs snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IL_0000: newobj SomeClass..ctor | |
IL_0005: stloc.0 // sc | |
IL_0006: ldloc.0 // sc | |
IL_0007: callvirt SomeClass.DoSomething //callvirt emitted | |
IL_000C: newobj SomeClass..ctor | |
IL_0011: call SomeClass.DoSomething //call emitted | |
IL_0016: ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment