瀏覽代碼

use C#7.0 for default arguments

release/3.x.x
Бессонов Дмитрий 5 年之前
父節點
當前提交
15ff03c136
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      Source/MQTTnet/Internal/BlockingQueue.cs

+ 2
- 2
Source/MQTTnet/Internal/BlockingQueue.cs 查看文件

@@ -32,7 +32,7 @@ namespace MQTTnet.Internal
}
}

public TItem Dequeue(CancellationToken cancellationToken = default)
public TItem Dequeue(CancellationToken cancellationToken = default(CancellationToken))
{
while (true)
{
@@ -56,7 +56,7 @@ namespace MQTTnet.Internal
}
}
public TItem PeekAndWait(CancellationToken cancellationToken = default)
public TItem PeekAndWait(CancellationToken cancellationToken = default(CancellationToken))
{
while (true)
{


Loading…
取消
儲存