【发布时间】:2011-01-11 19:45:14
【问题描述】:
GC.KeepAlive() 有什么不好以至于 FxCop 将其标记为违规?
【问题讨论】:
-
@HansPassant:比 API 更智能意味着什么?为什么我必须超越某些技术才能调用 API 函数that has a well-understood purpose (described here by Eric Lippert)?我对你的暗示感到不舒服,即仅仅问一个(合理的)问题就表明缺乏智慧。
-
你又在向信使开枪了。我没有编写 FxCop,也不对其设计师所做的选择负责。
-
@HansPassant:我完全是指你上面的评论,没有别的。
标签: c# .net garbage-collection fxcop