.cshtml does not accept 'string' for a 'object' type parameter
I've created a button with
[Parameter]
public object Content {get;set;}
<XButton Content="Click Me !" Clicked="@MyHandler" ref="_button"></XButton>
Visual studio does not recognize 'Content' value,
Error:

@hungdluit Could you elaborate?
Also, component parameters should not be public.
We're not recognizing "Click Me !" as a string, probably because the property is of type object. This works though:
<XButton Content="@("Click Me !")" Clicked="@MyHandler" ref="_button"></XButton>
@rynowak is this behavior by design?
and currently 'int' is not accepted for 'double' parameter. I think we have an issue with inheritance of types ?
Tracking this with https://github.com/aspnet/AspNetCore/issues/8581