代码检查:本地函数从未使用
JetBrains Rider 建议移除未使用的本地函数以清理代码。 您可以通过快速修复移除此类函数,或者编写使用该函数的代码。
public int MyMethod()
{
int Sum(int x, int y)
{
return x + y;
}
return 42;
}
public int MyMethod()
{
return 42;
}
最后修改日期: 2025年 9月 26日