Browse Source

Fix await warning in Playground.

Bart De Smet 6 years ago
parent
commit
6a65f1e1cc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Ix.NET/Source/Playground/Program.cs

+ 1 - 0
Ix.NET/Source/Playground/Program.cs

@@ -21,6 +21,7 @@ namespace Playground
         static async Task Experiment()
         {
             // Add test code here
+            await Task.Yield(); // Suppress CS1998
         }
 
         [Demo(11, "LINQ to Objects for IEnumerable<T>")]