We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4412c4e commit 2240457Copy full SHA for 2240457
src/Common/VSHostObject.cs
@@ -126,5 +126,16 @@ static TaskItem ConvertToTaskItem(TaskItemDto dto)
126
}
127
128
129
- private readonly record struct TaskItemDto(string? ItemSpec, Dictionary<string, string>? Metadata);
+ private readonly struct TaskItemDto
130
+ {
131
+ public string? ItemSpec { get; }
132
+ public Dictionary<string, string>? Metadata { get; }
133
+
134
+ [System.Text.Json.Serialization.JsonConstructor]
135
+ public TaskItemDto(string? itemSpec, Dictionary<string, string>? metadata)
136
137
+ ItemSpec = itemSpec;
138
+ Metadata = metadata;
139
+ }
140
141
0 commit comments