12 references to FailFast
System.Private.CoreLib (12)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\CompilerHelpers\StartupCodeHelpers.cs (2)
159
RuntimeExceptionHelpers.
FailFast
("Failed to register frozen object segment for the module.");
216
RuntimeExceptionHelpers.
FailFast
("Failed allocating GC static bases");
System\Environment.NativeAot.cs (3)
38
RuntimeExceptionHelpers.
FailFast
(message);
42
RuntimeExceptionHelpers.
FailFast
(message, exception);
46
RuntimeExceptionHelpers.
FailFast
(message, exception, errorSource: errorSource, reason: RhFailFastReason.AssertionFailure);
System\RuntimeExceptionHelpers.cs (7)
97
FailFast
("Access Violation: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The application will be terminated since this platform does not support throwing an AccessViolationException.");
101
FailFast
("Illegal instruction: Attempted to execute an instruction code not defined by the processor.");
105
FailFast
("Privileged instruction: Attempted to execute an instruction code that cannot be executed in user mode.");
109
FailFast
("In page error: Attempted to access a memory page that is not present, and the system is unable to load the page. For example, this exception might occur if a network connection is lost while running a program over a network.");
123
FailFast
("The runtime requires an exception for a case that this class library does not understand.");
147
FailFast
(exception: exception, reason: RhFailFastReason.UnhandledException);
163
FailFast
(exception: exception, reason: reason, pExAddress: pExAddress, pExContext: pExContext);