- Block level Razor statements in attributes used to not work. Added a few use cases to ensure that they're properly tested. aspnet/Razor#594