1 write to EntrySymbol
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeTableGenerator.cs (1)
247cb.EntrySymbol = FixedSymbolName(cb);
10 references to EntrySymbol
ILCompiler.ReadyToRun (10)
PortableCallHelpers\PInvokeTableGenerator.cs (10)
249if (!callbackNames.Add(cb.EntrySymbol)) 250throw new LogAsErrorException($"Two callbacks with the same symbol '{cb.EntrySymbol}' are not supported."); 285{{(cb.IsVoid ? "" : "return ")}}Call_{{cb.EntrySymbol}}({{arguments}}); 291static MethodDesc* MD_{{cb.EntrySymbol}} = nullptr; 293MapType(cb.ReturnType)}} Call_{{cb.EntrySymbol}}({{parametersDeclaration}}) 296if (!MD_{{cb.EntrySymbol}}) 298LookupUnmanagedCallersOnlyMethodByName("{{cb.TypeFullName}}, {{cb.AssemblyName}}", "{{cb.MethodName}}", &MD_{{cb.EntrySymbol}}); 301ExecuteInterpretedMethodFromUnmanaged(MD_{{cb.EntrySymbol}}, {{argsArgs}}, {{(cb.IsVoid ? "nullptr" : "(int8_t*)&result")}}, (PCODE)&Call_{{cb.EntrySymbol}});{{ 389=> $" {{ {HashString(cb.Key)}, \"{EscapeLiteral(cb.Key)}\", {{ &MD_{FixedSymbolName(cb)}, (void*)&Call_{cb.EntrySymbol} }} }}";