using System;
using System.Linq;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Threading.Tasks;
using System.Threading;
namespace TestResolveCSharpConsole
{
class MainClass
{
public static void Main(string[] args)
{
try
{
Thread thread = new Thread(SecondFoo);
thread.Start();
thread.Join()
}
catch (Exception sockEx)
{
Console.WriteLine(“correctly handled”);
}
}
public static void SecondFoo()
{
throw new Exception(“Error”);
}
}
}
Current Behavior using Hybrid Suspension:
Don't stop at uncaught exception: throw new Exception(“Error”);
Expected Behavior:
Stop at uncaught exception: throw new Exception(“Error”);