From ed72c8cf5a70ab2310e68770c3578998cde6609e Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Mon, 13 Jan 2025 11:17:37 -0600 Subject: [PATCH] added API approvals --- .../verify/CoreAPISpec.ApproveCore.DotNet.verified.txt | 1 + .../verify/CoreAPISpec.ApproveCore.Net.verified.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.DotNet.verified.txt b/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.DotNet.verified.txt index b16d008ad18..68130c8810e 100644 --- a/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.DotNet.verified.txt +++ b/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.DotNet.verified.txt @@ -5642,6 +5642,7 @@ namespace Akka.Util.Internal public class static Extensions { public static System.Collections.Generic.IDictionary AddAndReturn(this System.Collections.Generic.IDictionary hash, TKey key, TValue value) { } + [System.ObsoleteAttribute("Use the dictionary setter directly")] public static void AddOrSet(this System.Collections.Generic.IDictionary hash, TKey key, TValue value) { } public static T AsInstanceOf(this object self) { } public static string BetweenDoubleQuotes(this string self) { } diff --git a/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.Net.verified.txt b/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.Net.verified.txt index b1c6cb7b794..f109a52de5c 100644 --- a/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.Net.verified.txt +++ b/src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveCore.Net.verified.txt @@ -5631,6 +5631,7 @@ namespace Akka.Util.Internal public class static Extensions { public static System.Collections.Generic.IDictionary AddAndReturn(this System.Collections.Generic.IDictionary hash, TKey key, TValue value) { } + [System.ObsoleteAttribute("Use the dictionary setter directly")] public static void AddOrSet(this System.Collections.Generic.IDictionary hash, TKey key, TValue value) { } public static T AsInstanceOf(this object self) { } public static string BetweenDoubleQuotes(this string self) { }