NDEpend で組み込みのデッド コード クエリを改良していますが、スタンドアロン プログラム (つまり、Main() エントリポイントを使用) から多くの誤検出を見つけています。
組み込みの未使用の型クエリに次の句があることに気付きました。
!NameIs "Program" AND // Generally, types named Program
// contain a Main() entry-point
// method and this condition avoid
// to consider such type as
// unused code.
のようなものを書くことは不可能ですか?
HasMethodNamed "Main"
代わりは?それは私が本当に選びたいものです。