ILAssembler
ILAssembler copied to clipboard
Don't cache for interactive or generated call sites
Currently DynamicMethod
s are cached by their AST and signature. This check should be skipped if Ast.Extent.File
is blank as the call site is very unlikely to be called again and will just keep the method alive indefinitely.