MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / method

Function method

test/dotnet-parser-tests.ts:999–999  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

997 const fixture = ecma335Fixture();
998 const parsed = new DotNetPdbParser(fixture.assembly, fixture.pdb).parse();
999 const method = (name: string) => parsed.find(entry => entry.method.methodName === name)!;
1000
1001 expect(method('Add')).toMatchObject({
1002 method: {

Callers 1

Calls 1

findMethod · 0.80

Tested by

no test coverage detected