Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
b73fec97
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b73fec97
编写于
4月 19, 2018
作者:
Š
Šimon Koníček
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Using async Task in DeclarationNameCompletionProviderTests
上级
0c895728
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
105 addition
and
104 deletion
+105
-104
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests.cs
...letionProviders/DeclarationNameCompletionProviderTests.cs
+72
-71
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs
...onNameCompletionProviderTests_NameDeclarationInfoTests.cs
+33
-33
未找到文件。
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests.cs
浏览文件 @
b73fec97
此差异已折叠。
点击以展开。
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs
浏览文件 @
b73fec97
...
...
@@ -16,7 +16,7 @@ public class DeclarationNameCompletion_ContextTests
protected
CSharpTestWorkspaceFixture
fixture
=
new
CSharpTestWorkspaceFixture
();
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
AfterTypeInClass1
()
public
async
Task
AfterTypeInClass1
()
{
var
markup
=
@"
class C
...
...
@@ -31,7 +31,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
AfterTypeInClassWithAccessibility
()
public
async
Task
AfterTypeInClassWithAccessibility
()
{
var
markup
=
@"
class C
...
...
@@ -46,7 +46,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
AfterTypeInClassVirtual
()
public
async
Task
AfterTypeInClassVirtual
()
{
var
markup
=
@"
class C
...
...
@@ -61,7 +61,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
AfterTypeInClassStatic
()
public
async
Task
AfterTypeInClassStatic
()
{
var
markup
=
@"
class C
...
...
@@ -76,7 +76,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
AfterTypeInClassConst
()
public
async
Task
AfterTypeInClassConst
()
{
var
markup
=
@"
class C
...
...
@@ -91,7 +91,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
VariableDeclaration1
()
public
async
Task
VariableDeclaration1
()
{
var
markup
=
@"
class C
...
...
@@ -109,7 +109,7 @@ void goo()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
VariableDeclaration2
()
public
async
Task
VariableDeclaration2
()
{
var
markup
=
@"
class C
...
...
@@ -127,7 +127,7 @@ void goo()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ReadonlyVariableDeclaration1
()
public
async
Task
ReadonlyVariableDeclaration1
()
{
var
markup
=
@"
class C
...
...
@@ -145,7 +145,7 @@ void goo()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ReadonlyVariableDeclaration2
()
public
async
Task
ReadonlyVariableDeclaration2
()
{
var
markup
=
@"
class C
...
...
@@ -163,7 +163,7 @@ void goo()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
UsingVariableDeclaration1
()
public
async
Task
UsingVariableDeclaration1
()
{
var
markup
=
@"
class C
...
...
@@ -181,7 +181,7 @@ void M()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
UsingVariableDeclaration2
()
public
async
Task
UsingVariableDeclaration2
()
{
var
markup
=
@"
class C
...
...
@@ -199,7 +199,7 @@ void M()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ForVariableDeclaration1
()
public
async
Task
ForVariableDeclaration1
()
{
var
markup
=
@"
class C
...
...
@@ -217,7 +217,7 @@ void M()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ForVariableDeclaration2
()
public
async
Task
ForVariableDeclaration2
()
{
var
markup
=
@"
class C
...
...
@@ -235,7 +235,7 @@ void M()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ForEachVariableDeclaration
()
public
async
Task
ForEachVariableDeclaration
()
{
var
markup
=
@"
class C
...
...
@@ -253,7 +253,7 @@ void M()
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
Parameter1
()
public
async
Task
Parameter1
()
{
var
markup
=
@"
class C
...
...
@@ -269,7 +269,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
Parameter2
()
public
async
Task
Parameter2
()
{
var
markup
=
@"
class C
...
...
@@ -285,7 +285,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ParameterAfterPredefinedType1
()
public
async
Task
ParameterAfterPredefinedType1
()
{
var
markup
=
@"
class C
...
...
@@ -301,7 +301,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ParameterAfterPredefinedType2
()
public
async
Task
ParameterAfterPredefinedType2
()
{
var
markup
=
@"
class C
...
...
@@ -317,7 +317,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ParameterAfterGeneric
()
public
async
Task
ParameterAfterGeneric
()
{
var
markup
=
@"
using System.Collections.Generic;
...
...
@@ -334,7 +334,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ClassTypeParameter1
()
public
async
Task
ClassTypeParameter1
()
{
var
markup
=
@"
class C<$$
...
...
@@ -345,7 +345,7 @@ class C<$$
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ClassTypeParameter2
()
public
async
Task
ClassTypeParameter2
()
{
var
markup
=
@"
class C<T1, $$
...
...
@@ -356,7 +356,7 @@ class C<T1, $$
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion1
()
public
async
Task
ModifierExclusion1
()
{
var
markup
=
@"
class C
...
...
@@ -368,7 +368,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion2
()
public
async
Task
ModifierExclusion2
()
{
var
markup
=
@"
class C
...
...
@@ -380,7 +380,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion3
()
public
async
Task
ModifierExclusion3
()
{
var
markup
=
@"
class C
...
...
@@ -392,7 +392,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion4
()
public
async
Task
ModifierExclusion4
()
{
var
markup
=
@"
class C
...
...
@@ -404,7 +404,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion5
()
public
async
Task
ModifierExclusion5
()
{
var
markup
=
@"
class C
...
...
@@ -416,7 +416,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion6
()
public
async
Task
ModifierExclusion6
()
{
var
markup
=
@"
class C
...
...
@@ -428,7 +428,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion7
()
public
async
Task
ModifierExclusion7
()
{
var
markup
=
@"
class C
...
...
@@ -440,7 +440,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
ModifierExclusion8
()
public
async
Task
ModifierExclusion8
()
{
// Note that the async is not included in the incomplete member syntax
var
markup
=
@"
...
...
@@ -453,7 +453,7 @@ class C
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
LocalInsideMethod1
()
public
async
Task
LocalInsideMethod1
()
{
var
markup
=
@"
namespace ConsoleApp1
...
...
@@ -471,7 +471,7 @@ static void Main(string[] args)
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
LocalInsideMethod2
()
public
async
Task
LocalInsideMethod2
()
{
var
markup
=
@"
namespace ConsoleApp1
...
...
@@ -489,7 +489,7 @@ static void Main(string[] args)
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
LocalInsideMethodAfterPredefinedTypeKeyword
()
public
async
Task
LocalInsideMethodAfterPredefinedTypeKeyword
()
{
var
markup
=
@"
namespace ConsoleApp1
...
...
@@ -507,7 +507,7 @@ static void Main(string[] args)
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
void
LocalInsideMethodAfterArray
()
public
async
Task
LocalInsideMethodAfterArray
()
{
var
markup
=
@"
namespace ConsoleApp1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录