11 instantiations of LogAsErrorException
ILCompiler.ReadyToRun (11)
PortableCallHelpers\InternalCallSignatureCollector.cs (2)
77throw new LogAsErrorException( 95throw 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 (4)
270throw new LogAsErrorException($"Two callbacks with the same symbol '{cb.EntrySymbol}' are not supported."); 273throw new LogAsErrorException($"Two callbacks with the same Name and number of arguments '{cb.Key}' are not supported."); 407throw new LogAsErrorException( 434throw new LogAsErrorException(
PortableCallHelpers\PortableCallHelpersGenerator.cs (2)
55throw new LogAsErrorException("--generate-portable-callhelpers needs a directory to write to."); 60throw 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)
89catch (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)
65catch (LogAsErrorException ex)