1 write to MethodName
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeCollector.cs (1)
62MethodName = method.Name.ToString();
5 references to MethodName
ILCompiler.ReadyToRun (5)
PortableCallHelpers\PInvokeCollector.cs (2)
74Key = $"{MethodName}#{method.Signature.Length}:{AssemblyName}:{Namespace}:{TypeName}"; 95public string EntryName => $"{AssemblyName}_{Namespace}_{TypeName}_{MethodName}";
PortableCallHelpers\PInvokeTableGenerator.cs (3)
298LookupUnmanagedCallersOnlyMethodByName("{{cb.TypeFullName}}, {{cb.AssemblyName}}", "{{cb.MethodName}}", &MD_{{cb.EntrySymbol}}); 327&& candidate.Name.StringEquals(cb.MethodName) 341$"Exported callback '{cb.EntryPoint}' cannot be resolved at run time: '{cb.TypeFullName}' declares more than one [UnmanagedCallersOnly] method named '{cb.MethodName}', and the runtime looks them up by name alone. Give them distinct names: {string.Join(", ", ambiguous)}");