1 write to EntrySymbol
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeTableGenerator.cs (1)
267
cb.
EntrySymbol
= FixedSymbolName(cb);
14 references to EntrySymbol
ILCompiler.ReadyToRun (14)
PortableCallHelpers\PInvokeTableGenerator.cs (14)
269
if (!callbackNames.Add(cb.
EntrySymbol
))
270
throw 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;"
334
void* r2r = __atomic_load_n(&R2RCode_{{cb.
EntrySymbol
}}, __ATOMIC_ACQUIRE);
337
r2r = GetR2RNativeCodeForUnmanagedCallersOnly(MD_{{cb.
EntrySymbol
}});
338
__atomic_store_n(&R2RCode_{{cb.
EntrySymbol
}}, r2r, __ATOMIC_RELEASE);
352
{{(hasResult ? "return " : "")}}Call_{{cb.
EntrySymbol
}}({{arguments}});
358
static MethodDesc* MD_{{cb.
EntrySymbol
}} = nullptr;{{r2rStaticDecl}}
360
returnCType}} Call_{{cb.
EntrySymbol
}}({{parametersDeclaration}})
363
if (!MD_{{cb.
EntrySymbol
}})
365
LookupUnmanagedCallersOnlyMethodByName("{{cb.TypeFullName}}, {{cb.AssemblyName}}", "{{cb.MethodName}}", &MD_{{cb.
EntrySymbol
}});
368
ExecuteInterpretedMethodFromUnmanaged(MD_{{cb.
EntrySymbol
}}, {{argsArgs}}, {{retArg}}, (PCODE)&Call_{{cb.
EntrySymbol
}});{{
487
=> $" {{ {HashString(cb.Key)}, \"{EscapeLiteral(cb.Key)}\", {{ &MD_{FixedSymbolName(cb)}, (void*)&Call_{cb.
EntrySymbol
} }} }}";