From 4c1f320aefacdec88f969575e6d283190e471da7 Mon Sep 17 00:00:00 2001 From: Marcin Celej Date: Sat, 3 Feb 2024 18:34:30 +0100 Subject: [PATCH] #28: Synergy.Contracts: Technical Debt managed Removed implemented TODO --- .../Architecture/Debt/Todos.Technical.Debt.verified.md | 5 +---- Contracts/Synergy.Contracts/Failures/FailNullability.cs | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md b/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md index 3abed72..6120474 100644 --- a/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md +++ b/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md @@ -1,6 +1,6 @@ # Technical Debt for Synergy.Contracts -Total: 13 +Total: 12 ## [BusinessDocumentation.cs](../../Requirements/BusinessDocumentation.cs) - TODO: Marcin Celej [from: Marcin Celej on: 08-04-2023]: check that and probably convert docs int tt @@ -25,6 +25,3 @@ Total: 13 - TODO:mace (from:mace @ 22-10-2016): a.FailIfEqual(b) - TODO:mace (from:mace @ 22-10-2016): IfArgumentNotEqual - TODO:mace (from:mace @ 22-10-2016): a.FailIfNotEqual(b) - -## [FailNullability.cs](../../../Synergy.Contracts/Failures/FailNullability.cs) -- TODO: Marcin Celej [from: Marcin Celej on: 08-04-2023]: Use [CallerExpression] here - check https://andrewlock.net/exploring-dotnet-6-part-11-callerargumentexpression-and-throw-helpers/ diff --git a/Contracts/Synergy.Contracts/Failures/FailNullability.cs b/Contracts/Synergy.Contracts/Failures/FailNullability.cs index f5fdd59..7ad0509 100644 --- a/Contracts/Synergy.Contracts/Failures/FailNullability.cs +++ b/Contracts/Synergy.Contracts/Failures/FailNullability.cs @@ -4,8 +4,6 @@ namespace Synergy.Contracts { static partial class Fail { - // TODO: Marcin Celej [from: Marcin Celej on: 08-04-2023]: Use [CallerExpression] here - check https://andrewlock.net/exploring-dotnet-6-part-11-callerargumentexpression-and-throw-helpers/ - #region variable.FailIfNull(nameof(variable)) ///