diff --git a/src/VisualStudio/Core/Def/ChangeSignature/ChangeSignatureDialogViewModel.ParameterViewModels.cs b/src/VisualStudio/Core/Def/ChangeSignature/ChangeSignatureDialogViewModel.ParameterViewModels.cs index 086104f7f2645..4dd59e4781032 100644 --- a/src/VisualStudio/Core/Def/ChangeSignature/ChangeSignatureDialogViewModel.ParameterViewModels.cs +++ b/src/VisualStudio/Core/Def/ChangeSignature/ChangeSignatureDialogViewModel.ParameterViewModels.cs @@ -130,8 +130,19 @@ public override string FullAutomationText { get { - var baseText = base.FullAutomationText; - return ServicesVSResources.Added_Parameter + baseText + string.Format(ServicesVSResources.Inserting_call_site_value_0, CallSite); + var typeText = Type; + if (TypeWarningVisibility is Visibility.Visible) + { + typeText = string.Format(ServicesVSResources.Warning_0_does_not_bind_to_type, Type); + } + + var text = $"{Modifier} {typeText} {ParameterName}"; + if (!string.IsNullOrWhiteSpace(Default)) + { + text += $" = {Default}"; + } + + return ServicesVSResources.Added_Parameter + text + string.Format(ServicesVSResources.Inserting_call_site_value_0, CallSite); } } diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.resx b/src/VisualStudio/Core/Def/ServicesVSResources.resx index 80f4c9505d5bb..d9dc9250bde22 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.resx +++ b/src/VisualStudio/Core/Def/ServicesVSResources.resx @@ -1902,4 +1902,8 @@ Additional information: {1} Removed {0} {0} is a modifier, type, and parameter name + + Warning {0} does not bind to type + {0} is a type name + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf index e9a4469061f89..f863965d39c1d 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf @@ -1702,6 +1702,11 @@ Nastavení sady Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Upozornění: duplicitní název parametru diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf index ac00e5986dbbf..0306bc04b465a 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf @@ -1702,6 +1702,11 @@ Visual Studio-Einstellungen + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Warnung: doppelter Parametername diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf index c7e46f2b55366..211491302f604 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf @@ -1702,6 +1702,11 @@ Configuración de Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Advertencia: Nombre de parámetro duplicado diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf index 9074dc006199e..aea5ed84836ea 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf @@ -1702,6 +1702,11 @@ Paramètres de Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Avertissement : Nom de paramètre dupliqué diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf index 9211a26f77403..7d0d7f521daf4 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf @@ -1702,6 +1702,11 @@ Impostazioni di Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Avviso: nome di parametro duplicato diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf index dd5309e9a8e49..89e1791e47e44 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf @@ -1702,6 +1702,11 @@ Visual Studio の設定 + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name 警告: パラメーター名が重複しています diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf index 1adc3fb4a41a9..cd22f2c90d67a 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf @@ -1702,6 +1702,11 @@ Visual Studio 설정 + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name 경고: 매개 변수 이름이 중복되었습니다. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf index 1e2267d46c7b5..37be18911ef69 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf @@ -1702,6 +1702,11 @@ Ustawienia programu Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Ostrzeżenie: zduplikowana nazwa parametru diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf index 80dd1b60b4f61..fa5802d521ffb 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf @@ -1702,6 +1702,11 @@ Configurações do Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Aviso: nome de parâmetro duplicado diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf index bbab50a0d0383..1cfddc27d6b45 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf @@ -1702,6 +1702,11 @@ Параметры Visual Studio + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Предупреждение: повторяющееся имя параметра. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf index aa1abf6630f06..cc0977fa53872 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf @@ -1702,6 +1702,11 @@ Visual Studio Ayarları + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name Uyarı: Yinelenen parametre adı diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf index f2620fec3f739..0107c1da8cbd2 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf @@ -1702,6 +1702,11 @@ Visual Studio 设置 + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name 警告: 参数名重复 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf index 9f9a4720a275a..4750a19a75435 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf @@ -1702,6 +1702,11 @@ Visual Studio 設定 + + Warning {0} does not bind to type + Warning {0} does not bind to type + {0} is a type name + Warning: duplicate parameter name 警告: 參數名稱重複