6 references to DirectPInvokes
MonoAOTCompiler (6)
MonoAOTCompiler.cs (6)
427
if (UseDirectPInvoke && (
DirectPInvokes
.Length > 0 || DirectPInvokeLists.Length > 0))
429
throw new LogAsErrorException($"'{nameof(UseDirectPInvoke)}' flag trumps specified '{nameof(
DirectPInvokes
)}' and '{nameof(DirectPInvokeLists)}' arguments. Unset either the flag or the specific direct pinvoke arguments.");
432
if (UseDirectPInvoke ||
DirectPInvokes
.Length > 0 || DirectPInvokeLists.Length > 0)
435
throw new LogAsErrorException($"'{nameof(UseDirectPInvoke)}', '{nameof(
DirectPInvokes
)}', and '{nameof(DirectPInvokeLists)}' can only be used with '{nameof(UseStaticLinking)}=true'.");
708
if (
DirectPInvokes
.Length > 0)
711
Array.ForEach(
DirectPInvokes
, directPInvokeItem => directPInvokesSB.Append($"{directPInvokeItem.ItemSpec};"));