1 write to Key
ILCompiler.ReadyToRun (1)
PortableCallHelpers\PInvokeCollector.cs (1)
74
Key
= $"{MethodName}#{method.Signature.Length}:{AssemblyName}:{Namespace}:{TypeName}";
6 references to Key
ILCompiler.ReadyToRun (6)
PortableCallHelpers\PInvokeCollector.cs (2)
117
int compare = string.Compare(x.
Key
, y.
Key
, StringComparison.Ordinal);
PortableCallHelpers\PInvokeTableGenerator.cs (4)
252
if (!keys.Add(cb.
Key
))
253
throw new LogAsErrorException($"Two callbacks with the same Name and number of arguments '{cb.
Key
}' are not supported.");
389
=> $" {{ {HashString(cb.
Key
)}, \"{EscapeLiteral(cb.
Key
)}\", {{ &MD_{FixedSymbolName(cb)}, (void*)&Call_{cb.EntrySymbol} }} }}";