diff --git a/src/CodeStyle/Core/Analyzers/AbstractCodeStyleDiagnosticAnalyzer.cs b/src/CodeStyle/Core/Analyzers/AbstractCodeStyleDiagnosticAnalyzer.cs index 5a0bfbfc7fe09a182a42c0b48e0eba80bdcaa917..a34839cf65f9bdef27daac497612d90b06ad2686 100644 --- a/src/CodeStyle/Core/Analyzers/AbstractCodeStyleDiagnosticAnalyzer.cs +++ b/src/CodeStyle/Core/Analyzers/AbstractCodeStyleDiagnosticAnalyzer.cs @@ -81,12 +81,14 @@ protected DiagnosticDescriptor CreateDescriptorWithTitle(LocalizableString title LocalizableString messageFormat, bool isUnneccessary = false, bool isConfigurable = true, + LocalizableString description = null, params string[] customTags) => new DiagnosticDescriptor( id, title, messageFormat, DiagnosticCategory.Style, DiagnosticSeverity.Hidden, isEnabledByDefault: true, + description: description, customTags: DiagnosticCustomTags.Create(isUnneccessary, isConfigurable, customTags)); public sealed override void Initialize(AnalysisContext context) diff --git a/src/Features/Core/Portable/FeaturesResources.Designer.cs b/src/Features/Core/Portable/FeaturesResources.Designer.cs index d48b6bce61f4376397bfee59587679f385c89e8c..42c1274ef6620dd7484e68d2012998922c582077 100644 --- a/src/Features/Core/Portable/FeaturesResources.Designer.cs +++ b/src/Features/Core/Portable/FeaturesResources.Designer.cs @@ -693,6 +693,27 @@ internal class FeaturesResources { } } + /// + /// Looks up a localized string similar to Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names.. + /// + internal static string Avoid_unnecessary_value_assignments_in_your_code_as_these_likely_indicate_redundant_value_computations_If_the_value_computation_is_not_redundant_and_you_intend_to_retain_the_assignmentcomma_then_change_the_assignment_target_to_a_local_variable_whose_name_starts_with_an_underscore_and_is_optionally_followed_by_an_integercomma_such_as___comma__1_comma__2_comma_etc_These_are_treated_as_special_discard_symbol_names { + get { + return ResourceManager.GetString(@"Avoid_unnecessary_value_assignments_in_your_code_as_these_likely_indicate_redundant_value_computations_If_the_value_computation_is_not_redundant_and_you_intend_to_retain_the_assignmentcomma_then_change_the_assignment_target_to_a_local_variable_whose_name_starts_with_an_underscore_and_is_optionally_followed_by_an_integercomma_such_as___comma__1_comma__2_comma_etc_These_are_treated_as_special_discard_symbol_names", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names.. + /// + internal static string Avoid_unused_paramereters_in_your_code_If_the_parameter_cannot_be_removed_then_change_its_name_so_it_starts_with_an_underscore_and_is_optionally_followed_by_an_integer_such_as__comma__1_comma__2_etc_These_are_treated_as_special_discard_symbol_names { + get { + return ResourceManager.GetString("Avoid_unused_paramereters_in_your_code_If_the_parameter_cannot_be_removed_then_ch" + + "ange_its_name_so_it_starts_with_an_underscore_and_is_optionally_followed_by_an_i" + + "nteger_such_as__comma__1_comma__2_etc_These_are_treated_as_special_discard_symbo" + + "l_names", resourceCulture); + } + } + /// /// Looks up a localized string similar to Awaited task returns. /// @@ -3753,6 +3774,24 @@ internal class FeaturesResources { } } + /// + /// Looks up a localized string similar to Unnecessary assignment of a value. + /// + internal static string Unnecessary_assignment_of_a_value { + get { + return ResourceManager.GetString("Unnecessary_assignment_of_a_value", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unnecessary assignment of a value to '{0}'. + /// + internal static string Unnecessary_assignment_of_a_value_to_0 { + get { + return ResourceManager.GetString("Unnecessary_assignment_of_a_value_to_0", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unreachable code detected. /// @@ -4412,24 +4451,6 @@ internal class FeaturesResources { } } - /// - /// Looks up a localized string similar to Value assigned to '{0}' is never used. - /// - internal static string Value_assigned_to_0_is_never_used { - get { - return ResourceManager.GetString("Value_assigned_to_0_is_never_used", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Value assigned to symbol is never used. - /// - internal static string Value_assigned_to_symbol_is_never_used { - get { - return ResourceManager.GetString("Value_assigned_to_symbol_is_never_used", resourceCulture); - } - } - /// /// Looks up a localized string similar to Variable declaration can be deconstructed. /// diff --git a/src/Features/Core/Portable/FeaturesResources.resx b/src/Features/Core/Portable/FeaturesResources.resx index 49618f9b680df4da0b9ff4ac3b7cca8c0e06319b..8a4048cbc8908ab7a8c4bfcbb7741d8b0682000f 100644 --- a/src/Features/Core/Portable/FeaturesResources.resx +++ b/src/Features/Core/Portable/FeaturesResources.resx @@ -1499,11 +1499,14 @@ This version used in: {2} Expression value is never used - - Value assigned to '{0}' is never used + + Unnecessary assignment of a value to '{0}' - - Value assigned to symbol is never used + + Unnecessary assignment of a value + + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. Use discarded local @@ -1520,6 +1523,9 @@ This version used in: {2} Remove unused parameter '{0}' + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Fix formatting diff --git a/src/Features/Core/Portable/RemoveUnusedParametersAndValues/AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs b/src/Features/Core/Portable/RemoveUnusedParametersAndValues/AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs index 3ba239e6f251ececeb5b0c7cecc933e610413bf0..ad3a7512b8d1f37017bcedc612b6fbd628767e8c 100644 --- a/src/Features/Core/Portable/RemoveUnusedParametersAndValues/AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs +++ b/src/Features/Core/Portable/RemoveUnusedParametersAndValues/AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs @@ -68,8 +68,9 @@ internal abstract partial class AbstractRemoveUnusedParametersAndValuesDiagnosti // Diagnostic reported for value assignments to locals/parameters that are never used on any control flow path. private static readonly DiagnosticDescriptor s_valueAssignedIsUnusedRule = CreateDescriptorWithId( IDEDiagnosticIds.ValueAssignedIsUnusedDiagnosticId, - new LocalizableResourceString(nameof(FeaturesResources.Value_assigned_to_symbol_is_never_used), FeaturesResources.ResourceManager, typeof(FeaturesResources)), - new LocalizableResourceString(nameof(FeaturesResources.Value_assigned_to_0_is_never_used), FeaturesResources.ResourceManager, typeof(FeaturesResources)), + new LocalizableResourceString(nameof(FeaturesResources.Unnecessary_assignment_of_a_value), FeaturesResources.ResourceManager, typeof(FeaturesResources)), + new LocalizableResourceString(nameof(FeaturesResources.Unnecessary_assignment_of_a_value_to_0), FeaturesResources.ResourceManager, typeof(FeaturesResources)), + description: new LocalizableResourceString(nameof(FeaturesResources.Avoid_unnecessary_value_assignments_in_your_code_as_these_likely_indicate_redundant_value_computations_If_the_value_computation_is_not_redundant_and_you_intend_to_retain_the_assignmentcomma_then_change_the_assignment_target_to_a_local_variable_whose_name_starts_with_an_underscore_and_is_optionally_followed_by_an_integercomma_such_as___comma__1_comma__2_comma_etc_These_are_treated_as_special_discard_symbol_names), FeaturesResources.ResourceManager, typeof(FeaturesResources)), isUnneccessary: true); // Diagnostic reported for unneccessary parameters that can be removed. @@ -77,6 +78,7 @@ internal abstract partial class AbstractRemoveUnusedParametersAndValuesDiagnosti IDEDiagnosticIds.UnusedParameterDiagnosticId, new LocalizableResourceString(nameof(FeaturesResources.Remove_unused_parameter), FeaturesResources.ResourceManager, typeof(FeaturesResources)), new LocalizableResourceString(nameof(FeaturesResources.Remove_unused_parameter_0), FeaturesResources.ResourceManager, typeof(FeaturesResources)), + description: new LocalizableResourceString(nameof(FeaturesResources.Avoid_unused_paramereters_in_your_code_If_the_parameter_cannot_be_removed_then_change_its_name_so_it_starts_with_an_underscore_and_is_optionally_followed_by_an_integer_such_as__comma__1_comma__2_etc_These_are_treated_as_special_discard_symbol_names), FeaturesResources.ResourceManager, typeof(FeaturesResources)), isUnneccessary: true); private static readonly PropertiesMap s_propertiesMap = CreatePropertiesMap(); diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf index 973c4e32e33ab844f0d18998581715970754722c..5385eeb14fda57481edc23bd63a5df49ed6c23c0 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf @@ -57,6 +57,16 @@ Zarovnat zalomené parametry + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Změnit obor názvů na {0} @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Zrušit zalomení všech argumentů @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - Hodnota přiřazená k: {0} se nikdy nepoužívá. - - - - Value assigned to symbol is never used - Hodnota přiřazená symbolu se nikdy nepoužívá. - - Warning: Changing namespace may produce invalid code and change code meaning. Upozornění: Změna oboru názvů může vést k vytvoření neplatného kódu a změnit význam kódu. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf index 1480e78512d832c7a3a0c626b61a140d7dd39e96..67e2ec4584576abc76551424518af9518f21805a 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.de.xlf @@ -57,6 +57,16 @@ Umschlossene Parameter ausrichten + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Namespace in "{0}" ändern @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Alle Argumente entpacken @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - Der Wert, der "{0}" zugewiesen ist, wird niemals verwendet. - - - - Value assigned to symbol is never used - Der Wert, der dem Symbol zugeordnet ist, wird niemals verwendet. - - Warning: Changing namespace may produce invalid code and change code meaning. Warnung: Durch die Änderung des Namespaces kann der Code ungültig werden oder seine Bedeutung verändern. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf index f5d01ebc1cc2cdc4b1748206b702805f1b47d6ae..2cc3fa64b94fc8ec0aee80a7e100f4a42f2dbebd 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.es.xlf @@ -57,6 +57,16 @@ Alinear parámetros ajustados + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Cambiar el espacio de nombres "{0}" @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Desajustar todos los argumentos @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - El valor asignado a "{0}" no se utiliza nunca. - - - - Value assigned to symbol is never used - El valor asignado al símbolo nunca se utiliza. - - Warning: Changing namespace may produce invalid code and change code meaning. Advertencia: si cambia Cambiar el espacio de nombres puede producir código inválido y cambiar el significado del código. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf index 91b0dfaa42d4d7d2ceefcae3fbf5b7165e5141f3..acda65f5fb3f074ac77301ce5e4d9c0781cfaaae 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf @@ -57,6 +57,16 @@ Aligner les paramètres inclus dans un wrapper + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Remplacer l’espace de noms par '{0}' @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Exclure du wrapper tous les arguments @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - La valeur attribuée à '{0}' n'est jamais utilisée - - - - Value assigned to symbol is never used - La valeur attribuée au symbole n'est jamais utilisée - - Warning: Changing namespace may produce invalid code and change code meaning. Avertissement : Le changement d’espace de noms peut produire du code non valide et changer la signification du code. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf index 9979a15e1ee5f5a1226cc8e5232aa8303ffcae49..2772f99f18147622359ef7baa5b82d8383a1a1aa 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.it.xlf @@ -57,6 +57,16 @@ Allinea i parametri con ritorno a capo + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Modifica lo spazio dei nomi in '{0}' @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Annulla ritorno a capo per tutti gli argomenti @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - Il valore assegnato a '{0}' non viene mai usato - - - - Value assigned to symbol is never used - Il valore assegnato al simbolo non viene mai usato - - Warning: Changing namespace may produce invalid code and change code meaning. Avviso: la modifica dello spazio dei nomi può comportare la creazione di codice non valido e modificare il significato del codice. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf index 2b897ebbe1fdf63b5c8ec7c9163b81be74bdc7f0..acbf1f6c32e314b7954634c0685da8e62f208350 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf @@ -57,6 +57,16 @@ 折り返されたパラメーターを調整します + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' 名前空間を '{0}' に変更します @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments すべての引数の折り返しを解除 @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - '{0}' に割り当てられた値が使用されていません - - - - Value assigned to symbol is never used - シンボルに割り当てられた値は使用されることがありません - - Warning: Changing namespace may produce invalid code and change code meaning. 警告: 名前空間を変更すると無効なコードが生成され、コードの意味が変更される可能性があります。 diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf index 971d04cf2146d42041d5b39dd17f07d2981512a5..6db701ff01616536920cdc8c654b8afd248aad17 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf @@ -57,6 +57,16 @@ 줄 바꿈 된 매개 변수 맞춤 + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' 네임스페이스를 '{0}'(으)로 변경 @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments 모든 인수 줄 바꿈 조정 @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - '{0}'에 할당된 값은 사용되지 않습니다. - - - - Value assigned to symbol is never used - 기호에 할당된 값은 사용되지 않습니다. - - Warning: Changing namespace may produce invalid code and change code meaning. 경고: 네임스페이스를 변경하면 잘못된 코드가 발생하고 코드 의미가 변경될 수 있습니다. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf index fa1f9224be1ec273338d12d831f8b71dfafb91f4..47a40b7676ce99cc1f57a598fd47284fe7e2a350 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf @@ -57,6 +57,16 @@ Dopasuj opakowane parametry + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Zmień przestrzeń nazw na „{0}” @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Odpakuj wszystkie argumenty @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - Wartość przypisana do elementu „{0}” nie jest nigdy używana - - - - Value assigned to symbol is never used - Wartość przypisana do symbolu nie jest nigdy używana - - Warning: Changing namespace may produce invalid code and change code meaning. Ostrzeżenie: Zmiana przestrzeni nazw może skutkować nieprawidłowym kodem i zmianą jego znaczenia. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf index 9a94237b897a7e56463e53245250c6077b41d8f1..873985c6e8b446d22b08077b9e212785eff1eb42 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf @@ -57,6 +57,16 @@ Alinhar os parâmetros encapsulados + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Alterar o namespace para '{0}' @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Desencapsular todos os argumentos @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - O valor atribuído a '{0}' nunca é usado - - - - Value assigned to symbol is never used - O valor atribuído ao símbolo nunca é usado - - Warning: Changing namespace may produce invalid code and change code meaning. Aviso: a alteração do namespace pode produzir código inválido e mudar o significado do código. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf index 65d4962bfb6e96a4a53ad8a223a004e0007481d8..d30759d4f2711275c99c716003708abce8bc3905 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf @@ -57,6 +57,16 @@ Выровнять свернутые параметры + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Изменить пространство имен на "{0}" @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Развернуть все аргументы @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - Значение, присвоенное "{0}", никогда не используется - - - - Value assigned to symbol is never used - Значение, присваиваемое символу, никогда не используется - - Warning: Changing namespace may produce invalid code and change code meaning. Предупреждение: изменение пространства имен может привести к появлению недопустимого кода и к изменению значения кода. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf index cffadf9f4a3c0ad6c37faf59770bebfd4f8712ac..35353244a5c70c0feecb327b9d4f1d343e433e3a 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf @@ -57,6 +57,16 @@ Sarmalanan parametreleri hizala + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' Ad alanını '{0}' olarak değiştir @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments Tüm bağımsız değişkenlerin sarmalamasını kaldır @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - '{0}' öğesine atanan değer hiç kullanılmaz - - - - Value assigned to symbol is never used - Sembole atanan değer hiç kullanılmaz - - Warning: Changing namespace may produce invalid code and change code meaning. Uyarı: Ad alanının değiştirilmesi geçersiz kod oluşturabilir ve kodun anlamını değiştirebilir. diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf index abc0ae26a35f71bbc21ec219bb85a36e6fc87fbd..bd986d78107370e096eea4a40bc020c18a224ec4 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf @@ -57,6 +57,16 @@ 对齐包装参数 + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' 将名称空间更改为“{0}” @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments 解开所有参数 @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - 永远不会使用分配给 "{0}" 的值 - - - - Value assigned to symbol is never used - 从不使用分配给符号的值 - - Warning: Changing namespace may produce invalid code and change code meaning. 警告: 更改命名空间可能会产生无效的代码并更改代码的含义。 diff --git a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf index 93c26adabbe2bad650748bbe978d1185178230d8..f0b8bef1c9d2e40629d884e24b7e60793a373fe3 100644 --- a/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf +++ b/src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf @@ -57,6 +57,16 @@ 對齊包裝的參數 + + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to retain the assignment, then change the assignment target to a local variable whose name starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + + + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names. + + Change namespace to '{0}' 將命名空間變更為 ‘{0}' @@ -352,6 +362,16 @@ Target type matches + + Unnecessary assignment of a value + Unnecessary assignment of a value + + + + Unnecessary assignment of a value to '{0}' + Unnecessary assignment of a value to '{0}' + + Unwrap all arguments 將所有引數取消換行 @@ -442,16 +462,6 @@ Use simple 'using' statement - - Value assigned to '{0}' is never used - 永遠不會使用指派給 '{0}' 的值 - - - - Value assigned to symbol is never used - 永遠不會使用指派給符號的值 - - Warning: Changing namespace may produce invalid code and change code meaning. 警告: 變更命名空間可能會產生無效的程式碼及變更程式碼意義。