15 references to Method
ILCompiler.ReadyToRun (15)
PortableCallHelpers\PInvokeCollector.cs (4)
28
private string Identity => $"{EntryPoint}!{Module}!{
Method
.OwningType}::{
Method
.Name.ToString()}{
Method
.Signature}";
37
public override string ToString() => $"{{ EntryPoint: {EntryPoint}, Module: {Module}, Method: {
Method
}, Skip: {Skip} }}";
PortableCallHelpers\PInvokeTableGenerator.cs (11)
76
log.Verbose($"Skipping unresolved PInvoke module '{pinvoke.Module}' for method '{pinvoke.
Method
.OwningType}::{pinvoke.
Method
.Name.ToString()}' (not statically linked on wasm; will throw if called).");
106
p => $" {p.
Method
} (in [{((EcmaAssembly)p.
Method
.Module).GetName().Name}] {p.
Method
.OwningType})"));
200
int firstNumArgs = candidates[0].
Method
.Signature.Length;
203
if (candidates[i].
Method
.Signature.Length != firstNumArgs)
211
=> string.Join(", ", l.Select(c => ((EcmaAssembly)c.
Method
.Module).GetName().Name).Distinct().OrderBy(n => n, StringComparer.Ordinal));
350
string namespaceName = TypeNames.GetNamespace(pinvoke.
Method
.OwningType);
359
MethodSignature signature = pinvoke.
Method
.Signature;
367
returnType = pinvoke.
Method
.Context.GetWellKnownType(WellKnownType.Void);