浏览代码

Fix await warning in Playground.

Bart De Smet 6 年之前
父节点
当前提交
6a65f1e1cc
共有 1 个文件被更改,包括 1 次插入0 次删除
  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()
         static async Task Experiment()
         {
         {
             // Add test code here
             // Add test code here
+            await Task.Yield(); // Suppress CS1998
         }
         }
 
 
         [Demo(11, "LINQ to Objects for IEnumerable<T>")]
         [Demo(11, "LINQ to Objects for IEnumerable<T>")]