Selaa lähdekoodia

Fix await warning in Playground.

Bart De Smet 6 vuotta sitten
vanhempi
sitoutus
6a65f1e1cc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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>")]