15 references to Method
ILCompiler.ReadyToRun (15)
PortableCallHelpers\PInvokeCollector.cs (4)
28private string Identity => $"{EntryPoint}!{Module}!{Method.OwningType}::{Method.Name.ToString()}{Method.Signature}"; 37public override string ToString() => $"{{ EntryPoint: {EntryPoint}, Module: {Module}, Method: {Method}, Skip: {Skip} }}";
PortableCallHelpers\PInvokeTableGenerator.cs (11)
76log.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)."); 106p => $" {p.Method} (in [{((EcmaAssembly)p.Method.Module).GetName().Name}] {p.Method.OwningType})")); 200int firstNumArgs = candidates[0].Method.Signature.Length; 203if (candidates[i].Method.Signature.Length != firstNumArgs) 211=> string.Join(", ", l.Select(c => ((EcmaAssembly)c.Method.Module).GetName().Name).Distinct().OrderBy(n => n, StringComparer.Ordinal)); 350string namespaceName = TypeNames.GetNamespace(pinvoke.Method.OwningType); 359MethodSignature signature = pinvoke.Method.Signature; 367returnType = pinvoke.Method.Context.GetWellKnownType(WellKnownType.Void);