12 references to FailFast
System.Private.CoreLib (12)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\CompilerHelpers\StartupCodeHelpers.cs (2)
159RuntimeExceptionHelpers.FailFast("Failed to register frozen object segment for the module."); 216RuntimeExceptionHelpers.FailFast("Failed allocating GC static bases");
System\Environment.NativeAot.cs (3)
38RuntimeExceptionHelpers.FailFast(message); 42RuntimeExceptionHelpers.FailFast(message, exception); 46RuntimeExceptionHelpers.FailFast(message, exception, errorSource: errorSource, reason: RhFailFastReason.AssertionFailure);
System\RuntimeExceptionHelpers.cs (7)
99FailFast("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."); 103FailFast("Illegal instruction: Attempted to execute an instruction code not defined by the processor."); 107FailFast("Privileged instruction: Attempted to execute an instruction code that cannot be executed in user mode."); 111FailFast("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."); 124FailFast("The runtime requires an exception for a case that this class library does not understand."); 148FailFast(exception: exception, reason: RhFailFastReason.UnhandledException); 164FailFast(exception: exception, reason: reason, pExAddress: pExAddress, pExContext: pExContext);