[release/8.0-staging] Fix JsonArray.Add and ReplaceWith regressions. #94882
Build osx-arm64 Release NativeAOT_Libraries failed
Annotations
Check failure on line 147 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.cs
azure-pipelines / runtime (Build osx-arm64 Release NativeAOT_Libraries)
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 osx-arm64 Release NativeAOT_Libraries)
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 osx-arm64 Release NativeAOT_Libraries)
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 199 in src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonObject.cs
azure-pipelines / runtime (Build osx-arm64 Release NativeAOT_Libraries)
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 osx-arm64 Release NativeAOT_Libraries)
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?)'