You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
The name 'InvalidTagHelperIndexerAssignment' does not exist in the current context'
This is happening because Razor tries to generate a call to the InvalidTagHelperIndexerAssignment method to throw an exception if the route values aren't set.
It doesn't happen with asp-route-page because the optimizer preallocates it.
assigned @ryanbrandenburg - this is a class 2 adoption blocker. @pranavkm can help you figure out the best fix, we might be able to move this down to the base class. Please figure out if more changes are needed while you are there, and add a functional test 👍
Typing in this code will result in the following compiler error:
post.Id
is anint
The name 'InvalidTagHelperIndexerAssignment' does not exist in the current context'
This is happening because Razor tries to generate a call to the
InvalidTagHelperIndexerAssignment
method to throw an exception if the route values aren't set.It doesn't happen with
asp-route-page
because the optimizer preallocates it.Generated code:
The text was updated successfully, but these errors were encountered: