Skip to content
Merged
Prev Previous commit
Next Next commit
Update docs/fundamentals/syslib-diagnostics/syslib1038.md
Co-authored-by: Tom Dykstra <[email protected]>
  • Loading branch information
layomia and tdykstra authored Dec 1, 2021
commit 4ed36f6535cbdafcd00d97fafea04993523a7959
2 changes: 1 addition & 1 deletion docs/fundamentals/syslib-diagnostics/syslib1038.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.date: 05/07/2021

# SYSLIB1038: `System.Text.Json` source generator encountered a property annotated with `[JsonInclude]` but with inaccessible accessors

The `System.Text.Json` source generator encountered a property annotated with `[JsonInclude]` but with accessors that are inaccessible to the source generator, i.e. that are not `public` or `internal`.
The `System.Text.Json` source generator encountered a property that is annotated with `[JsonInclude]` but has accessors that are inaccessible to the source generator. The property must have `public` or `internal` accessors.

## Workarounds

Expand Down