title: 'bool' does not contain a definition for 'GetAwaiter'
body: <p>While trying to check the result of an asynchronous method I'm getting the below error.</p>
  
  <p>Neither I tried <code>await container.ExistsAsync().Result</code> nor <code>bool result = await container.GetAwaiter().GetResult();</code> worked.</p>
  
  <p>Where am I going wrong?</p>
  
  <pre><code>[TestMethod]
  public async Task StorageAccountConnectionTest()
  {
      var storageCredentials = new StorageCredentials(_mockFuncXTransConfiguration.Object.StorageAccountName, _mockFuncXransConfiguration.Object.StorageAccountKey);
      var cloudStorageAccount = new CloudStorageAccount(storageCredentials, true);
      var cloudBlobClient = cloudStorageAccount.CreateCloudBlobClient();
      var container = cloudBlobClient.GetContainerReference(_mockFuncXTransConfiguration.Object.BlobName);
      bool result = await container.ExistsAsync().Result;
      Assert.AreEqual(true, result);
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/DSxl6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DSxl6.png" alt="enter image description here"></a></p>