diff --git a/src/Microsoft.Blazor.Browser/Interop/RegisteredFunction.cs b/src/Microsoft.Blazor.Browser/Interop/RegisteredFunction.cs
index a26f2018af..ab60496b91 100644
--- a/src/Microsoft.Blazor.Browser/Interop/RegisteredFunction.cs
+++ b/src/Microsoft.Blazor.Browser/Interop/RegisteredFunction.cs
@@ -36,13 +36,8 @@ namespace Microsoft.Blazor.Browser.Interop
/// The .NET type corresponding to the function's return value type.
/// The identifier used when registering the target function.
/// The result of the function invocation.
- public static TRes Invoke(string identifier)
- {
- var result = Runtime.InvokeJS