Open
Description
Summary
The IJSRuntime
and IJSObjectReference
interfaces were recently augmented in .NET 10 with new methods:
InvokeNewAsync
GetValueAsync
SetValueAsync
However, adding new members to interfaces is a breaking change that will cause external implementations to throw a TypeLoadException
until they get updated to implement the new members.
Possible solution
Change these new methods to be "default interface methods" and have the default implementation throw an exception.