[release/8.0-staging] Fix JsonArray.Add and ReplaceWith regressions. #94882
Build linux-riscv64 Release AllSubsets_Mono failed
Annotations
Check failure on line 147 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.cs
azure-pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.cs#L147
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.cs(147,40): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?)
Check failure on line 199 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs
azure-pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs#L199
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs(199,32): error CS0115: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonObject.GetPath(List<string>, JsonNode?)': no suitable method found to override
Check failure on line 19 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs
azure-pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs#L19
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs(19,33): error CS0534: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonObject' does not implement inherited abstract member 'JsonNode.GetPath(List<string>, JsonNode?)'
azure-pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonValueOfTCustomized.cs#L12
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonValueOfTCustomized.cs(12,27): error CS0534: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonValueCustomized<TValue>' does not implement inherited abstract member 'JsonNode.GetPath(List<string>, JsonNode?)'
Check failure on line 93 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonValue.cs
azure-pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonValue.cs#L93
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonValue.cs(93,32): error CS0115: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonValue.GetPath(List<string>, JsonNode?)': no suitable method found to override