23 references to Method
ILCompiler.ReadyToRun (23)
PortableCallHelpers\PInvokeCollector.cs (4)
29private string Identity => $"{EntryPoint}!{Module}!{Method.OwningType}::{Method.Name.ToString()}{Method.Signature}"; 38public override string ToString() => $"{{ EntryPoint: {EntryPoint}, Module: {Module}, Method: {Method}, Skip: {Skip} }}";
PortableCallHelpers\PInvokeTableGenerator.cs (19)
39if (pinvoke.Method.Module == systemModule) 62else if (linked.TryGetDirectEntryPoint(pinvoke.Method, out _)) 75log.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)."); 110MethodDesc[] methods = candidates.Select(c => (MethodDesc)c.Method).ToArray(); 225p => $" {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}'."); 573string namespaceName = TypeNames.GetNamespace(pinvoke.Method.OwningType); 582MethodSignature signature = pinvoke.Method.Signature; 588if (pinvoke.Method.IsInternalCall) 598returnType = pinvoke.Method.Context.GetWellKnownType(WellKnownType.Void);