[release/8.0-staging] Fix JsonArray.Add and ReplaceWith regressions. #94882
Build browser-wasm linux Release LibraryTests failed
Annotations
Check failure on line 147 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.cs
azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)
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 198 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs
azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs#L198
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs(198,32): error CS0115: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonArray.GetPath(List<string>, JsonNode?)': no suitable method found to override
Check failure on line 21 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs
azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs#L21
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs(21,33): error CS0534: (NETCORE_ENGINEERING_TELEMETRY=Build) 'JsonArray' 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 browser-wasm linux Release LibraryTests)
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
azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests)
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?)'