12 instantiations of LinkerFatalErrorException
illink (12)
Linker.Dataflow\MethodBodyScanner.cs (2)
204
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(
943
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(
Linker.Steps\MarkStep.cs (6)
3578
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(origin, DiagnosticId.CannotStubConstructorWhenBaseTypeDoesNotHaveConstructor, method.DeclaringType.GetDisplayName()));
3595
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.CouldNotFindType, "System.NotSupportedException"));
3601
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.CouldNotFindConstructor, nse.GetDisplayName()));
3611
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.CouldNotFindConstructor, objectType.GetDisplayName()));
3621
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.CouldNotFindType, "System.Runtime.CompilerServices.DisablePrivateReflectionAttribute"));
3628
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.CouldNotFindConstructor, disablePrivateReflection.GetDisplayName()));
Linker.Steps\OutputStep.cs (1)
114
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.FailedToWriteOutput, outputName), e);
Linker.Steps\ProcessLinkerXmlBase.cs (1)
100
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(null, DiagnosticId.ErrorProcessingXmlLocation, _xmlDocumentLocation), ex);
Linker\LinkContext.cs (2)
728
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(text, code, subcategory, origin));
742
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage(text, code, subcategory, origin), innerException);
7 references to LinkerFatalErrorException
illink (7)
Linker.Dataflow\MethodBodyScanner.cs (1)
916
/// <exception cref="
LinkerFatalErrorException
">Throws if <paramref name="target"/> is not a valid target for an indirect store.</exception>
Linker.Steps\ProcessLinkerXmlBase.cs (1)
98
catch (Exception ex) when (!(ex is
LinkerFatalErrorException
))
Linker\Driver.cs (1)
947
case
LinkerFatalErrorException
lex:
Linker\LinkerFatalErrorException.cs (4)
21
throw new ArgumentException($"'{nameof(
LinkerFatalErrorException
)}' ought to be used for errors only");
24
throw new ArgumentException($"'{nameof(
LinkerFatalErrorException
)}' must have a code that indicates a failure");
35
throw new ArgumentException($"'{nameof(
LinkerFatalErrorException
)}' ought to be used for errors only");
38
throw new ArgumentException($"'{nameof(
LinkerFatalErrorException
)}' must have a code that indicates failure");