title: Async/Await works in Windows Form application, but it shouldn't
body: <p>Based on <a href="https://msdn.microsoft.com/en-us/magazine/jj991977.aspx" rel="nofollow noreferrer">MSDN article</a> following code shouldn't work in Windows Forms application and I'm pretty much certain, that it didn't work in past, but recently I've discovered, that in .NET framework 4.7.02558 it works.</p>
  
  <pre><code>public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
  
      public void Test()
      {
          Console.WriteLine("One");
  
          var d = DelayAsync();
  
          Console.WriteLine("Three");
  
          d.Wait();
          Console.WriteLine("Five");
      }
  
      private async Task DelayAsync()
      {
          Console.WriteLine("Two");
  
          await Task.Delay(1000);
          Console.WriteLine("Four");
      }
  
      private void Button1_Click(object sender, EventArgs e)
      {
          Test();
      }
  }
  </code></pre>
  
  <p>Did I miss some a release log, or is something wrong (I mean right from user's perspective)?</p>
  
  <p>Edit: An application should freeze after returning from awaited code because in Windows Forms is used CurrentContextSheduller.</p>