아래 C# WPF 소스 코드를 실행시키면 deadlock에 걸려서 GUI 창이 안 뜬다./// /// Interaction logic for MainWindow.xaml/// public partial class MainWindow : Window{ public MainWindow() { InitializeComponent(); } private async Task Invert(bool x) { await Task.Delay(1); return !x; } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); ..