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