-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Labels
Milestone
Description
See dotnet/aspire#1449 for context, but in general there is code like:
<Component OnSomeEvent="DoSomething(context)" />
and the user changed it to:
<Component OnSomeEvent="@DoSomething(context)" />
This seemed to have no effect, but nobody is really sure what the rules are for whether the @
is necessary in this context or not. It would be great if the compiler could warn when it expects a C# expression, and encounters a C# implicit expression.
jjonescz