We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52dfbd4 commit 8678313Copy full SHA for 8678313
test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/src/app/SourceGenerator.cs
@@ -0,0 +1,17 @@
1
+using System;
2
+using System.Text.Json.Serialization;
3
+
4
+namespace SourceGeneration;
5
6
+public class WeatherForecast
7
+{
8
+ public DateTime Date { get; set; }
9
+ public int TemperatureCelsius { get; set; }
10
+ public string Summary { get; set; }
11
+}
12
13
+[JsonSourceGenerationOptions(WriteIndented = true)]
14
+[JsonSerializable(typeof(WeatherForecast))]
15
+internal partial class SourceGenerationContext : JsonSerializerContext
16
17
0 commit comments