File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Weaver/Xtensive.Orm.Weaver/Tasks Expand file tree Collapse file tree 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.
22// All rights reserved.
33// For conditions of distribution and use, see license.
44// Created by: Denis Krjuchkov
@@ -44,6 +44,7 @@ private void ImplementSetter(ProcessorContext context)
4444 il . Emit ( OpCodes . Ldarg_0 ) ;
4545 il . Emit ( OpCodes . Ldstr , persistentName ) ;
4646 il . Emit ( OpCodes . Ldarg_1 ) ;
47+ il . Emit ( OpCodes . Tail ) ;
4748 il . Emit ( OpCodes . Call , accessor ) ;
4849 il . Emit ( OpCodes . Ret ) ;
4950 }
@@ -57,6 +58,7 @@ private void ImplementGetter(ProcessorContext context)
5758 var il = body . GetILProcessor ( ) ;
5859 il . Emit ( OpCodes . Ldarg_0 ) ;
5960 il . Emit ( OpCodes . Ldstr , persistentName ) ;
61+ il . Emit ( OpCodes . Tail ) ;
6062 il . Emit ( OpCodes . Call , accessor ) ;
6163 il . Emit ( OpCodes . Ret ) ;
6264 }
You can’t perform that action at this time.
0 commit comments