File tree 1 file changed +3
-1
lines changed
Weaver/Xtensive.Orm.Weaver/Tasks
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (C) 2013 Xtensive LLC.
1
+ // Copyright (C) 2013 Xtensive LLC.
2
2
// All rights reserved.
3
3
// For conditions of distribution and use, see license.
4
4
// Created by: Denis Krjuchkov
@@ -44,6 +44,7 @@ private void ImplementSetter(ProcessorContext context)
44
44
il . Emit ( OpCodes . Ldarg_0 ) ;
45
45
il . Emit ( OpCodes . Ldstr , persistentName ) ;
46
46
il . Emit ( OpCodes . Ldarg_1 ) ;
47
+ il . Emit ( OpCodes . Tail ) ;
47
48
il . Emit ( OpCodes . Call , accessor ) ;
48
49
il . Emit ( OpCodes . Ret ) ;
49
50
}
@@ -57,6 +58,7 @@ private void ImplementGetter(ProcessorContext context)
57
58
var il = body . GetILProcessor ( ) ;
58
59
il . Emit ( OpCodes . Ldarg_0 ) ;
59
60
il . Emit ( OpCodes . Ldstr , persistentName ) ;
61
+ il . Emit ( OpCodes . Tail ) ;
60
62
il . Emit ( OpCodes . Call , accessor ) ;
61
63
il . Emit ( OpCodes . Ret ) ;
62
64
}
You can’t perform that action at this time.
0 commit comments