1 write to EntrySymbol
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeTableGenerator.cs (1)
338
cb.
EntrySymbol
= FixedSymbolName(cb);
14 references to EntrySymbol
ILCompiler.ReadyToRun (14)
PortableCallHelpers\PInvokeTableGenerator.cs (14)
340
if (!callbackNames.Add(cb.
EntrySymbol
))
341
throw new LogAsErrorException($"Two callbacks with the same symbol '{cb.
EntrySymbol
}' are not supported.");
399
? $"{w.NewLine}static void* R2RCode_{cb.
EntrySymbol
} = (void*)(intptr_t)-1;"
405
void* r2r = __atomic_load_n(&R2RCode_{{cb.
EntrySymbol
}}, __ATOMIC_ACQUIRE);
408
r2r = GetR2RNativeCodeForUnmanagedCallersOnly(MD_{{cb.
EntrySymbol
}});
409
__atomic_store_n(&R2RCode_{{cb.
EntrySymbol
}}, r2r, __ATOMIC_RELEASE);
423
{{(hasResult ? "return " : "")}}Call_{{cb.
EntrySymbol
}}({{arguments}});
429
static MethodDesc* MD_{{cb.
EntrySymbol
}} = nullptr;{{r2rStaticDecl}}
431
returnCType}} Call_{{cb.
EntrySymbol
}}({{parametersDeclaration}})
434
if (!MD_{{cb.
EntrySymbol
}})
436
LookupUnmanagedCallersOnlyMethodByName("{{cb.TypeFullName}}, {{cb.AssemblyName}}", "{{cb.MethodName}}", &MD_{{cb.
EntrySymbol
}});
439
ExecuteInterpretedMethodFromUnmanaged(MD_{{cb.
EntrySymbol
}}, {{argsArgs}}, {{retArg}}, (PCODE)&Call_{{cb.
EntrySymbol
}});{{
560
=> $" {{ {HashString(cb.Key)}, \"{EscapeLiteral(cb.Key)}\", {{ &MD_{FixedSymbolName(cb)}, (void*)&Call_{cb.
EntrySymbol
} }} }}";