NUnit.Framework.Internal.FinallyDelegate.HandleUnhandledExc C# (CSharp) Method

HandleUnhandledExc() public method

public HandleUnhandledExc ( Exception ex ) : void
ex System.Exception
return void
		public void HandleUnhandledExc (Exception ex) {
			TestExecutionContext context = this.testStack.Peek().Item1;
			context.CurrentResult.RecordException(ex);
			context.CurrentResult.ThreadCrashFail = true;
		}