From 9931405fa87b657f80266c9db6687dfb517fc562 Mon Sep 17 00:00:00 2001 From: Pareekshit Singh Date: Wed, 5 Sep 2018 13:17:22 -0700 Subject: [PATCH] Fix the issue with property names being not shown in the warning message --- .../CustomAttributes/CmdletOutputBreakingChangeAttribute.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/CustomAttributes/CmdletOutputBreakingChangeAttribute.cs b/src/Common/CustomAttributes/CmdletOutputBreakingChangeAttribute.cs index 6a3432870b..84798ef267 100644 --- a/src/Common/CustomAttributes/CmdletOutputBreakingChangeAttribute.cs +++ b/src/Common/CustomAttributes/CmdletOutputBreakingChangeAttribute.cs @@ -79,7 +79,7 @@ protected override string GetAttributeSpecificMessage() message.Append(Resources.BreakingChangesAttributesCmdLetOutputPropertiesRemoved); foreach (string property in DeprecatedOutputProperties) { - message.Append(" '{property}'"); + message.Append(" '" + property + "'"); } } @@ -88,7 +88,7 @@ protected override string GetAttributeSpecificMessage() message.Append(Resources.BreakingChangesAttributesCmdLetOutputPropertiesAdded); foreach (string property in NewOutputProperties) { - message.Append(" '{property}'"); + message.Append(" '" + property + "'"); } } }