Code inspection: Unused parameter in partial methodLast modified: 08 April 2024 Category: Redundancies in Symbol Declarations ID: UnusedParameterInPartialMethod EditorConfig: resharper_unused_parameter_in_partial_method_highlighting=[error|warning|suggestion|hint|none] Default severity: Warning Language: C#, VB.NET Requires SWA: NotipYou can suppress this inspection to ignore specific issues, change its severity level to make the issues less or more noticeable, or disable it altogether.This inspection detects unused parameters in the implementation parts of a partial method.Unused method parameters might indicate incomplete or dead code. Follow JetBrains Rider’s suggestion to remove an unused parameter and update usages.Suboptimal codepartial class Item{ partial void ToCart(int id, int quantity); partial void ToCart(int id, int quantity) { Console.WriteLine($"{id} added to cart"); }}After the quick-fixpartial class Item{ partial void ToCart(int id); partial void ToCart(int id) { Console.WriteLine($"{id} added to cart"); }}