12 instantiations of LinkerFatalErrorException
illink (12)
Linker.Dataflow\MethodBodyScanner.cs (2)
189
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (
885
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (
Linker.Steps\MarkStep.cs (6)
3274
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (origin, DiagnosticId.CannotStubConstructorWhenBaseTypeDoesNotHaveConstructor, method.DeclaringType.GetDisplayName ()));
3291
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindType, "System.NotSupportedException"));
3297
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, nse.GetDisplayName ()));
3307
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, objectType.GetDisplayName ()));
3317
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindType, "System.Runtime.CompilerServices.DisablePrivateReflectionAttribute"));
3324
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, disablePrivateReflection.GetDisplayName ()));
Linker.Steps\OutputStep.cs (1)
107
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.FailedToWriteOutput, outputName), e);
Linker.Steps\ProcessLinkerXmlBase.cs (1)
95
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (null, DiagnosticId.ErrorProcessingXmlLocation, _xmlDocumentLocation), ex);
Linker\LinkContext.cs (2)
705
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (text, code, subcategory, origin));
719
throw new
LinkerFatalErrorException
(MessageContainer.CreateErrorMessage (text, code, subcategory, origin), innerException);
7 references to LinkerFatalErrorException
illink (7)
Linker.Dataflow\MethodBodyScanner.cs (1)
860
/// <exception cref="
LinkerFatalErrorException
">Throws if <paramref name="target"/> is not a valid target for an indirect store.</exception>
Linker.Steps\ProcessLinkerXmlBase.cs (1)
94
} catch (Exception ex) when (!(ex is
LinkerFatalErrorException
)) {
Linker\Driver.cs (1)
861
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");