From 2c8ebe5483447323dc3db1d62470bf2e13d34124 Mon Sep 17 00:00:00 2001 From: Marcin Celej Date: Sun, 14 May 2023 10:36:56 +0200 Subject: [PATCH] #28: Managed technical debt for Synergy.Contracts --- Contracts/Synergy.Contracts.Samples/ContractorRepository.cs | 2 ++ Contracts/Synergy.Contracts/Failures/FailNullability.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Contracts/Synergy.Contracts.Samples/ContractorRepository.cs b/Contracts/Synergy.Contracts.Samples/ContractorRepository.cs index d0e2cc6..0a16f6d 100644 --- a/Contracts/Synergy.Contracts.Samples/ContractorRepository.cs +++ b/Contracts/Synergy.Contracts.Samples/ContractorRepository.cs @@ -5,6 +5,8 @@ namespace Synergy.Contracts.Samples { + // TODO: Marcin Celej [from: Marcin Celej on: 30-04-2023]: Remove this sample project + [UsedImplicitly] public class ContractorRepository : IContractorRepository { diff --git a/Contracts/Synergy.Contracts/Failures/FailNullability.cs b/Contracts/Synergy.Contracts/Failures/FailNullability.cs index 1d6dfe2..1434953 100644 --- a/Contracts/Synergy.Contracts/Failures/FailNullability.cs +++ b/Contracts/Synergy.Contracts/Failures/FailNullability.cs @@ -4,7 +4,7 @@ namespace Synergy.Contracts { static partial class Fail { - // TODO: Marcin Celej [from: Marcin Celej on: 08-04-2023]: Use [CallerExpression] here + // 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))