diff --git a/eng/Versions.props b/eng/Versions.props
index e99a081fbd6ed1..7bca669addc848 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -259,6 +259,6 @@
1.0.406601
8.0.100-rtm.23506.1
- $(MicrosoftDotnetSdkInternalVersion)
+
diff --git a/src/mono/wasm/testassets/WasmBasicTestApp/LazyLoadingTest.cs b/src/mono/wasm/testassets/WasmBasicTestApp/LazyLoadingTest.cs
index 0d68b1216816c3..5df4dd2486d57c 100644
--- a/src/mono/wasm/testassets/WasmBasicTestApp/LazyLoadingTest.cs
+++ b/src/mono/wasm/testassets/WasmBasicTestApp/LazyLoadingTest.cs
@@ -12,9 +12,12 @@ public static void Run()
{
// System.Text.Json is marked as lazy loaded in the csproj ("BlazorWebAssemblyLazyLoad"), this method can be called only after the assembly is lazy loaded
// In the test case it is done in the JS before call to this method
- var text = JsonSerializer.Serialize(new Person("John", "Doe"));
+ var text = JsonSerializer.Serialize(new Person("John", "Doe"), SourceGenerationContext.Default.Person);
TestOutput.WriteLine(text);
}
+ internal partial class SourceGenerationContext : JsonSerializerContext
+ {
+ }
public record Person(string FirstName, string LastName);
}