From 6d3fee0ff64c4f249830e039d56a15e843a28dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Wed, 15 Jun 2022 11:34:40 +0200 Subject: [PATCH] Remove nameof to avoid issue on CI --- .../JsonDataSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.TestPlatform.CommunicationUtilities/JsonDataSerializer.cs b/src/Microsoft.TestPlatform.CommunicationUtilities/JsonDataSerializer.cs index c337b16c6c..38d213dfe6 100644 --- a/src/Microsoft.TestPlatform.CommunicationUtilities/JsonDataSerializer.cs +++ b/src/Microsoft.TestPlatform.CommunicationUtilities/JsonDataSerializer.cs @@ -343,7 +343,7 @@ public string Serialize(T data, int version = 1) } /// - [return: NotNullIfNotNull(nameof(obj))] + [return: NotNullIfNotNull("obj")] public T? Clone(T? obj) { if (obj == null)