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