` -> ` for every call edge into a `Send`.
()
| 138 | |
| 139 | /** `<caller> -> <callee>` for every call edge into a `Send`. */ |
| 140 | function sends(): string[] { |
| 141 | const out: string[] = []; |
| 142 | for (const target of cg!.getNodesInFile('Consumer.cs').filter((n) => n.name === 'Send')) { |
| 143 | for (const e of cg!.getIncomingEdges(target.id).filter((x) => x.kind === 'calls')) { |
| 144 | out.push(`${cg!.getNode(e.source)!.name} -> ${target.qualifiedName}`); |
| 145 | } |
| 146 | } |
| 147 | return out.sort(); |
| 148 | } |
| 149 | |
| 150 | // (Wrapped's receiver sits alone on the line above `?.Send(…)`. It links no |
| 151 | // better than the same call written with a plain `.`: the chain keeps its |
no test coverage detected