microsoft/RoslynClrHeapAllocationAnalyzer

Closure capture of "this" points to the method node, instead pick class decl node

オープン

#12 opened on 2015/05/03

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (63 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (654 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

When a closure captures the this parameter, we lazily just point to the method declaration syntax node, but we really should point to the class/struct declaration node.

If the class is a partial class, then we should point to the class declaration node in the current file.

コントリビューターガイド