Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9810d26c
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,发现更多精彩内容 >>
提交
9810d26c
编写于
1月 27, 2020
作者:
C
Cyrus Najmabadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix VB tests
上级
d8c764ae
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
43 addition
and
17 deletion
+43
-17
src/EditorFeatures/VisualBasicTest/Diagnostics/Suppression/SuppressionTests.vb
...sualBasicTest/Diagnostics/Suppression/SuppressionTests.vb
+43
-17
未找到文件。
src/EditorFeatures/VisualBasicTest/Diagnostics/Suppression/SuppressionTests.vb
浏览文件 @
9810d26c
...
@@ -988,7 +988,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -988,7 +988,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class1
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class1
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1026,7 +1028,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1026,7 +1028,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
namespace
""
, Target:=
""
~N:N
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
namespace
""
, Target:=
""
~N:N
""
)>
"
"
Await
TestInRegularAndScriptAsync
(
source
.
Value
,
expected
,
index
:
=
1
)
Await
TestInRegularAndScriptAsync
(
source
.
Value
,
expected
,
index
:
=
1
)
...
@@ -1068,7 +1072,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1068,7 +1072,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:N1.N2.Class1
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:N1.N2.Class1
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1112,7 +1118,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1112,7 +1118,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:N.Generic`1.Class1
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:N.Generic`1.Class1
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1156,7 +1164,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1156,7 +1164,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1204,7 +1214,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1204,7 +1214,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method(System.Int32,System.Int32@)
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method(System.Int32,System.Int32@)
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1256,7 +1268,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1256,7 +1268,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method``1(``0,System.Int32@)
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~M:N.Generic`1.Class1.Method``1(``0,System.Int32@)
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1306,7 +1320,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1306,7 +1320,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~P:N.Generic.C.P
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~P:N.Generic.C.P
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1346,7 +1362,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1346,7 +1362,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~F:C.F
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~F:C.F
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1402,7 +1420,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1402,7 +1420,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~E:C.SampleEvent
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
member
""
, Target:=
""
~E:C.SampleEvent
""
)>
"
"
Await
TestAsync
(
source
.
Value
,
expected
)
Await
TestAsync
(
source
.
Value
,
expected
)
...
@@ -1463,7 +1483,7 @@ End Class]]>
...
@@ -1463,7 +1483,7 @@ End Class]]>
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<
Assembly
:
Diagnostics
.
CodeAnalysis
.
SuppressMessage
(
"InfoDiagnostic"
,
"InfoDiagnostic:InfoDiagnostic"
,
Justification
:
=
"<Pending>"
,
Scope
:
=
"type"
,
Target
:
=
"Class1"
)
>
<
Assembly
:
SuppressMessage
(
"InfoDiagnostic"
,
"InfoDiagnostic:InfoDiagnostic"
,
Justification
:
=
"<Pending>"
,
Scope
:
=
"type"
,
Target
:
=
"Class1"
)
>
]]
>
]]
>
</
Document
>
</
Document
>
</
Project
>
</
Project
>
...
@@ -1475,8 +1495,10 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1475,8 +1495,10 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
<Pending>
""
, Scope:=
""
type
""
, Target:=
""
Class1
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
<Pending>
""
, Scope:=
""
type
""
, Target:=
""
Class1
""
)>
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
"
"
Await
TestAsync
(
source
.
ToString
(),
expected
)
Await
TestAsync
(
source
.
ToString
(),
expected
)
...
@@ -1512,7 +1534,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1512,7 +1534,9 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
"
"
Await
TestAsync
(
source
.
ToString
(),
expected
)
Await
TestAsync
(
source
.
ToString
(),
expected
)
...
@@ -1544,7 +1568,7 @@ End Class
...
@@ -1544,7 +1568,7 @@ End Class
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<
Assembly
:
Diagnostics
.
CodeAnalysis
.
SuppressMessage
(
"InfoDiagnostic"
,
"InfoDiagnostic:InfoDiagnostic"
,
Justification
:
=
"<Pending>"
,
Scope
:
=
"type"
,
Target
:
=
"Class1"
)
>
<
Assembly
:
SuppressMessage
(
"InfoDiagnostic"
,
"InfoDiagnostic:InfoDiagnostic"
,
Justification
:
=
"<Pending>"
,
Scope
:
=
"type"
,
Target
:
=
"Class1"
)
>
]]
>
]]
>
</
Document
>
</
Document
>
</
Project
>
</
Project
>
...
@@ -1556,8 +1580,10 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
...
@@ -1556,8 +1580,10 @@ $"' This file is used by Code Analysis to maintain SuppressMessage
' Project-level suppressions either have no target or are given
' Project-level suppressions either have no target or are given
' a specific target and scoped to a namespace, type, member, etc.
' a specific target and scoped to a namespace, type, member, etc.
<Assembly: Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
<Pending>
""
, Scope:=
""
type
""
, Target:=
""
Class1
""
)>
Imports System.Diagnostics.CodeAnalysis
<Assembly: Diagnostics.CodeAnalysis.SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
<Pending>
""
, Scope:=
""
type
""
, Target:=
""
Class1
""
)>
<Assembly: SuppressMessage(
""
InfoDiagnostic
""
,
""
InfoDiagnostic:InfoDiagnostic
""
, Justification:=
""
{FeaturesResources.Pending}
""
, Scope:=
""
type
""
, Target:=
""
~T:Class2
""
)>
"
"
Await
TestAsync
(
source
.
ToString
(),
expected
)
Await
TestAsync
(
source
.
ToString
(),
expected
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录