diff --git a/identity-model/test/IdentityModel.Tests/Verifications/PublicApiVerificationTests.VerifyPublicApi.verified.txt b/identity-model/test/IdentityModel.Tests/Verifications/PublicApiVerificationTests.VerifyPublicApi.verified.txt index da6e3014..f170060c 100644 --- a/identity-model/test/IdentityModel.Tests/Verifications/PublicApiVerificationTests.VerifyPublicApi.verified.txt +++ b/identity-model/test/IdentityModel.Tests/Verifications/PublicApiVerificationTests.VerifyPublicApi.verified.txt @@ -38,7 +38,9 @@ } public static class DateTimeExtensions { + [System.Obsolete("Please use DateTimeOffset.FromUnixTimeSeconds() instead.")] public static System.DateTime ToDateTimeFromEpoch(this long date) { } + [System.Obsolete("Please use DateTimeOffset.ToUnixTimeSeconds() instead.")] public static long ToEpochTime(this System.DateTime dateTime) { } } public static class Identity