Why is this an issue?

How to fix it in Razor

How to fix it in Razor