1 write to EntrySymbol
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeTableGenerator.cs (1)
267cb.EntrySymbol = FixedSymbolName(cb);
14 references to EntrySymbol
ILCompiler.ReadyToRun (14)
PortableCallHelpers\PInvokeTableGenerator.cs (14)
269if (!callbackNames.Add(cb.EntrySymbol)) 270throw new LogAsErrorException($"Two callbacks with the same symbol '{cb.EntrySymbol}' are not supported."); 328? $"{w.NewLine}static void* R2RCode_{cb.EntrySymbol} = (void*)(intptr_t)-1;" 334void* r2r = __atomic_load_n(&R2RCode_{{cb.EntrySymbol}}, __ATOMIC_ACQUIRE); 337r2r = GetR2RNativeCodeForUnmanagedCallersOnly(MD_{{cb.EntrySymbol}}); 338__atomic_store_n(&R2RCode_{{cb.EntrySymbol}}, r2r, __ATOMIC_RELEASE); 352{{(hasResult ? "return " : "")}}Call_{{cb.EntrySymbol}}({{arguments}}); 358static MethodDesc* MD_{{cb.EntrySymbol}} = nullptr;{{r2rStaticDecl}} 360returnCType}} Call_{{cb.EntrySymbol}}({{parametersDeclaration}}) 363if (!MD_{{cb.EntrySymbol}}) 365LookupUnmanagedCallersOnlyMethodByName("{{cb.TypeFullName}}, {{cb.AssemblyName}}", "{{cb.MethodName}}", &MD_{{cb.EntrySymbol}}); 368ExecuteInterpretedMethodFromUnmanaged(MD_{{cb.EntrySymbol}}, {{argsArgs}}, {{retArg}}, (PCODE)&Call_{{cb.EntrySymbol}});{{ 487=> $" {{ {HashString(cb.Key)}, \"{EscapeLiteral(cb.Key)}\", {{ &MD_{FixedSymbolName(cb)}, (void*)&Call_{cb.EntrySymbol} }} }}";