Ver código fonte

Fix await warning in Playground.

Bart De Smet 6 anos atrás
pai
commit
6a65f1e1cc
1 arquivos alterados com 1 adições e 0 exclusões
  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>")]