aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/CompilerServices/CompilerServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CompilerServices/CompilerServices.cs')
-rw-r--r--src/CompilerServices/CompilerServices.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs
index e0d6c1e0..e2c657ce 100644
--- a/src/CompilerServices/CompilerServices.cs
+++ b/src/CompilerServices/CompilerServices.cs
@@ -667,6 +667,8 @@ namespace Crow
il.Emit (OpCodes.Ldstr, strcst);
+ }else if (string.Equals(rop,"this",StringComparison.OrdinalIgnoreCase)){
+ il.Emit (OpCodes.Ldarg_0); //load sender ref onto the stack
} else {
if (lopT.IsEnum)
throw new NotImplementedException ();