public static ILockStatement Lock(this IBlockStatementParent parent, ILocalMember localMember)
 {
     return(parent.Lock(localMember.GetReference()));
 }
 public static IYieldReturnStatement YieldReturn(this IBlockStatementParent blockParent, ILocalMember returnValue)
 {
     return(blockParent.YieldReturn((IExpression)returnValue.GetReference()));
 }
 public static IReturnStatement Return(this IBlockStatementParent blockParent, ILocalMember returnValue)
 {
     return(blockParent.Return(returnValue.GetReference()));
 }