(method: DotNetMethodKey)
| 39 | }; |
| 40 | |
| 41 | function formatMethodKey(method: DotNetMethodKey) { |
| 42 | const typeName = |
| 43 | method.typeArguments.length === 0 ? method.typeName : `${method.typeName}[${method.typeArguments.join(',')}]`; |
| 44 | const methodKeyName = |
| 45 | method.methodArguments.length === 0 |
| 46 | ? method.methodName |
| 47 | : `${method.methodName}[${method.methodArguments.join(',')}]`; |
| 48 | |
| 49 | return `${typeName}:${methodKeyName}(${method.parameters.join(',')})${ |
| 50 | method.returnType && method.returnType !== 'void' ? `:${method.returnType}` : '' |
| 51 | }`; |
| 52 | } |
| 53 | |
| 54 | function parseJitDisasmMethodKey(methodName: string): DotNetMethodKey | null { |
| 55 | const methodKeyText = methodName |
no outgoing calls
no test coverage detected