diff --git a/src/Components/test/testassets/BasicTestApp/InteropTest/JavaScriptInterop.cs b/src/Components/test/testassets/BasicTestApp/InteropTest/JavaScriptInterop.cs index a0f35c8040..f8b8c154e7 100644 --- a/src/Components/test/testassets/BasicTestApp/InteropTest/JavaScriptInterop.cs +++ b/src/Components/test/testassets/BasicTestApp/InteropTest/JavaScriptInterop.cs @@ -1,17 +1,17 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.JSInterop; using System; +using System.Collections.Concurrent; using System.Collections.Generic; -using System.Text.Json; using System.Threading.Tasks; +using Microsoft.JSInterop; namespace BasicTestApp.InteropTest { public class JavaScriptInterop { - public static IDictionary Invocations = new Dictionary(); + public static ConcurrentDictionary Invocations = new ConcurrentDictionary(); [JSInvokable] public static void ThrowException() => throw new InvalidOperationException("Threw an exception!");