Resharper 中的 "Object allocation (evident)" 是什么意思?
What does Resharper mean by "Object allocation (evident)"?
Resharper 在我的代码中突出显示新关键字并提示 "Object allocation (evident)"。
这是什么意思?
Highlights object creation expressions where explicit allocation
happens.
这意味着它可用于通知您有关新分配的信息,从而减少 C# 程序热路径中的堆分配数量。
Resharper 在我的代码中突出显示新关键字并提示 "Object allocation (evident)"。
这是什么意思?
Highlights object creation expressions where explicit allocation happens.
这意味着它可用于通知您有关新分配的信息,从而减少 C# 程序热路径中的堆分配数量。