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)
99
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.");
103
FailFast
("Illegal instruction: Attempted to execute an instruction code not defined by the processor.");
107
FailFast
("Privileged instruction: Attempted to execute an instruction code that cannot be executed in user mode.");
111
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.");
124
FailFast
("The runtime requires an exception for a case that this class library does not understand.");
148
FailFast
(exception: exception, reason: RhFailFastReason.UnhandledException);
164
FailFast
(exception: exception, reason: reason, pExAddress: pExAddress, pExContext: pExContext);