1 write to MethodName
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeCollector.cs (1)
62
MethodName
= method.Name.ToString();
5 references to MethodName
ILCompiler.ReadyToRun (5)
PortableCallHelpers\PInvokeCollector.cs (2)
74
Key = $"{
MethodName
}#{method.Signature.Length}:{AssemblyName}:{Namespace}:{TypeName}";
95
public string EntryName => $"{AssemblyName}_{Namespace}_{TypeName}_{
MethodName
}";
PortableCallHelpers\PInvokeTableGenerator.cs (3)
298
LookupUnmanagedCallersOnlyMethodByName("{{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)}");