23 references to Method
ILCompiler.ReadyToRun (23)
PortableCallHelpers\PInvokeCollector.cs (4)
29
private string Identity => $"{EntryPoint}!{Module}!{
Method
.OwningType}::{
Method
.Name.ToString()}{
Method
.Signature}";
38
public override string ToString() => $"{{ EntryPoint: {EntryPoint}, Module: {Module}, Method: {
Method
}, Skip: {Skip} }}";
PortableCallHelpers\PInvokeTableGenerator.cs (19)
39
if (pinvoke.
Method
.Module == systemModule)
62
else if (linked.TryGetDirectEntryPoint(pinvoke.
Method
, out _))
75
log.Verbose($"Skipping unresolved PInvoke '{pinvoke.Module}!{pinvoke.EntryPoint}' for method '{pinvoke.
Method
.OwningType}::{pinvoke.
Method
.Name.ToString()}' (not statically linked on wasm; will throw if called).");
110
MethodDesc[] methods = candidates.Select(c => (MethodDesc)c.
Method
).ToArray();
225
p => $" {p.
Method
} (in [{((EcmaAssembly)p.
Method
.Module).GetName().Name}] {p.
Method
.OwningType})"));
228
=> string.Join(", ", group.Select(c => ((EcmaAssembly)c.
Method
.Module).GetName().Name).Distinct().OrderBy(n => n, StringComparer.Ordinal));
272
&& (entry.
Method
.IsInternalCall || previous.
Method
.IsInternalCall)
273
&& entry.
Method
!= previous.
Method
)
276
$"Native entrypoint '{entry.EntryPoint}' conflicts between '{previous.
Method
}' and '{entry.
Method
}'.");
573
string namespaceName = TypeNames.GetNamespace(pinvoke.
Method
.OwningType);
582
MethodSignature signature = pinvoke.
Method
.Signature;
588
if (pinvoke.
Method
.IsInternalCall)
598
returnType = pinvoke.
Method
.Context.GetWellKnownType(WellKnownType.Void);