浏览代码

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)
{


正在加载...
取消
保存