[cs] Propagate unsafe tag to anonymous functions