Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus committed Sep 4, 2023
1 parent edb31bf commit af4196a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/Trimming/cs/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal class SharpBackend : IBackend

// Until .NET support source generators compositing (https://github.com/dotnet/roslyn/issues/57239)
// JSON generator won't pick type hints emitted by other generators; hence, with aggressive trimming enabled,
// (which strips reflection-based JSON serialization), we have to manually hint the serialized types.
// (which strips reflection-based JSON serialization), we have to manually hint serialized types.
// https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation
[JsonSerializable(typeof(Info))]
internal partial class SerializerContext : JsonSerializerContext;

0 comments on commit af4196a

Please sign in to comment.