13 instantiations of LogAsErrorException
ILCompiler.ReadyToRun (13)
PortableCallHelpers\InternalCallSignatureCollector.cs (3)
72
throw new
LogAsErrorException
($"InternalCall '{method}' has an unsupported native entrypoint name '{name}'.");
85
throw new
LogAsErrorException
(
105
throw new
LogAsErrorException
($"Could not get the signature for InternalCall method '{type}::{method.Name.ToString()}': {ex.Message}");
PortableCallHelpers\InteropSignature.cs (1)
125
throw new
LogAsErrorException
($"Multi-slot signature token '{token}' is not supported in interop thunks");
PortableCallHelpers\InterpToNativeGenerator.cs (2)
108
throw new
LogAsErrorException
(
115
throw new
LogAsErrorException
($"Cannot generate an interop thunk for '{cookies[signature]}': {e.Message}");
PortableCallHelpers\PInvokeTableGenerator.cs (5)
275
throw new
LogAsErrorException
(
386
throw new
LogAsErrorException
($"Two callbacks with the same symbol '{cb.EntrySymbol}' are not supported.");
389
throw new
LogAsErrorException
($"Two callbacks with the same Name and number of arguments '{cb.Key}' are not supported.");
532
throw new
LogAsErrorException
(
559
throw new
LogAsErrorException
(
PortableCallHelpers\PortableCallHelpersGenerator.cs (2)
60
throw new
LogAsErrorException
("--generate-portable-callhelpers needs a directory to write to.");
65
throw new
LogAsErrorException
("--generate-portable-callhelpers needs a target OS to match platform attributes against.");
5 references to LogAsErrorException
ILCompiler.ReadyToRun (5)
PortableCallHelpers\InternalCallSignatureCollector.cs (1)
99
catch (Exception ex) when (ex is not
LogAsErrorException
)
PortableCallHelpers\InterpToNativeGenerator.cs (1)
112
catch (
LogAsErrorException
e)
PortableCallHelpers\PInvokeCollector.cs (2)
144
catch (Exception ex) when (ex is not
LogAsErrorException
)
230
catch (Exception ex) when (ex is InvalidSignatureCharException or
LogAsErrorException
or TypeSystemException)
PortableCallHelpers\PortableCallHelpersGenerator.cs (1)
70
catch (
LogAsErrorException
ex)