Created
February 28, 2013 08:35
-
-
Save einarwh/5055215 to your computer and use it in GitHub Desktop.
IL code for the BoxedICanine class.
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
.class public auto ansi beforefieldinit BoxedICanine | |
extends PolyFix.Lib.Box`1<class PolyFix.Lib.ICanine> | |
implements PolyFix.Lib.ICanine | |
{ | |
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed | |
{ | |
.maxstack 8 | |
L_0000: ldarg.0 | |
L_0001: call instance void PolyFix.Lib.Box`1<class PolyFix.Lib.ICanine>::.ctor() | |
L_0006: ret | |
} | |
.method public hidebysig newslot virtual final instance bool Eats(valuetype PolyFix.Lib.Food f) cil managed | |
{ | |
.maxstack 8 | |
L_0000: ldarg.0 | |
L_0001: ldfld !0 PolyFix.Lib.Box`1<class PolyFix.Lib.ICanine>::_ | |
L_0006: ldarg.1 | |
L_0007: callvirt instance bool PolyFix.Lib.ICanine::Eats(valuetype PolyFix.Lib.Food) | |
L_000c: ret | |
} | |
.method public hidebysig specialname newslot virtual final instance string get_Bark() cil managed | |
{ | |
.maxstack 8 | |
L_0000: ldarg.0 | |
L_0001: ldfld !0 PolyFix.Lib.Box`1<class PolyFix.Lib.ICanine>::_ | |
L_0006: callvirt instance string PolyFix.Lib.ICanine::get_Bark() | |
L_000b: ret | |
} | |
.property instance string Bark | |
{ | |
.get instance string PolyFix.Lib.BoxedICanine::get_Bark() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment