(JsonElement obj, string skipKey, Utf8JsonWriter writer)
| 137 | } |
| 138 | |
| 139 | private static void CopyExcept(JsonElement obj, string skipKey, Utf8JsonWriter writer) |
| 140 | { |
| 141 | if (obj.ValueKind != JsonValueKind.Object) return; |
| 142 | foreach (var prop in obj.EnumerateObject()) |
| 143 | { |
| 144 | if (prop.Name == skipKey) continue; |
| 145 | prop.WriteTo(writer); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | private static string GetSettingsPath() |
| 150 | { |
nothing calls this directly
no outgoing calls
no test coverage detected