From ba8cd88a0710da17980e719467c9b6ddf08f6125 Mon Sep 17 00:00:00 2001
From: Stijn Moreels <9039753+stijnmoreels@users.noreply.github.com>
Date: Thu, 26 Feb 2026 09:42:41 +0100
Subject: [PATCH] chore(az.table): use centralized diagnostic id in temp table
entity test fixture
---
src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs b/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
index c8dddc10..42aa2694 100644
--- a/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
+++ b/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
@@ -53,7 +53,7 @@ private TemporaryTableEntity(
/// Thrown when the or the is blank.
/// Thrown when the is null.
#pragma warning disable S1133 // Will be removed in v3.0.
- [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = "ARCUS")]
+ [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = ObsoleteDefaults.DiagnosticId)]
#pragma warning restore S1133
public static Task AddIfNotExistsAsync(
string accountName,
@@ -74,7 +74,7 @@ public static Task AddIfNotExistsAsync(
/// The logger instance to write diagnostic information during the lifetime of the test fixture.
/// Thrown when the or the is null.
#pragma warning disable S1133 // Will be removed in v3.0.
- [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = "ARCUS")]
+ [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = ObsoleteDefaults.DiagnosticId)]
#pragma warning restore S1133
public static Task AddIfNotExistsAsync(TableClient client, TEntity entity, ILogger logger) where TEntity : class, ITableEntity
{