Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
98a98285
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,发现更多精彩内容 >>
提交
98a98285
编写于
11月 10, 2015
作者:
C
Cyrus Najmabadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix tests.
上级
ad2b9da7
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
42 addition
and
42 deletion
+42
-42
src/EditorFeatures/VisualBasicTest/Diagnostics/GenerateMethod/GenerateMethodTests.vb
...sicTest/Diagnostics/GenerateMethod/GenerateMethodTests.vb
+42
-42
未找到文件。
src/EditorFeatures/VisualBasicTest/Diagnostics/GenerateMethod/GenerateMethodTests.vb
浏览文件 @
98a98285
...
...
@@ -1242,13 +1242,13 @@ End Module
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
String
)
whichOne
=
"T"
End
Function
End
Sub
End
Class
Class
C1
Inherits
C0
Overloads
Sub
Foo
(
ByVal
y1
As
String
)
whichOne
=
"Y"
End
Function
End
Sub
End
Class
Sub
test
()
Dim
clsNarg2get
As
C1
=
New
C1
()
...
...
@@ -1264,17 +1264,17 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
String
)
whichOne
=
"T"
End
Function
End
Sub
End
Class
Class
C1
Inherits
C0
Overloads
Sub
Foo
(
ByVal
y1
As
String
)
whichOne
=
"Y"
End
Function
End
Sub
Friend
Sub
Foo
(
v
As
Integer
,
y1
As
Integer
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Sub
test
()
Dim
clsNarg2get
As
C1
=
New
C1
()
...
...
@@ -1352,7 +1352,7 @@ End Class
Class
C0
(
Of
T
)
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
Get
End
Get
...
...
@@ -1363,7 +1363,7 @@ End Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
Get
End
Get
...
...
@@ -1394,7 +1394,7 @@ Module Module1
Class
C0
(
Of
T
)
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
Get
End
Get
...
...
@@ -1405,7 +1405,7 @@ Module Module1
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
Get
End
Get
...
...
@@ -1415,7 +1415,7 @@ Module Module1
Friend
Sub
Foo
(
scenario11
As
Scenario11
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Structure
S1
Dim
i
As
Integer
...
...
@@ -1443,14 +1443,14 @@ End Module
<
text
>
Module
Module1
Class
C0
(
Of
T
)
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
End
Property
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
End
Property
End
Class
...
...
@@ -1474,20 +1474,20 @@ End Module
Module
Module1
Class
C0
(
Of
T
)
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
End
Property
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
End
Property
Friend
Sub
Foo
(
sc11
As
Scenario11
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Structure
S1
End
Structure
...
...
@@ -1514,14 +1514,14 @@ End Module
Class
C0
(
Of
T
)
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
End
Property
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
End
Property
End
Class
...
...
@@ -1546,20 +1546,20 @@ Module Module1
Class
C0
(
Of
T
)
Public
whichOne
As
String
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
Default
Property
Prop1
(
ByVal
t1
As
T
)
As
Integer
End
Property
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Default
Overloads
Property
Prop1
(
ByVal
y1
As
Y
)
As
Integer
End
Property
Friend
Sub
Foo
(
dTmp
As
Decimal
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Structure
S1
End
Structure
...
...
@@ -1595,13 +1595,13 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
whichOne
=
"1"
End
Function
End
Sub
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
Y
).
E
)
whichOne
=
"2"
End
Function
End
Sub
Sub
Scenario8
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
Call
Me
.
Foo
(
p1
)
End
Function
End
Sub
End
Class
Sub
test
()
Dim
tc7
As
New
sample7C2
(
Of
Integer
,
Integer
)
...
...
@@ -1663,13 +1663,13 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
whichOne
=
"1"
End
Function
End
Sub
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
Y
).
E
)
whichOne
=
"2"
End
Function
End
Sub
Sub
Scenario8
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
Call
Me
.
Foo
(
p1
)
End
Function
End
Sub
End
Class
Sub
test
()
Dim
tc7
As
New
sample7C2
(
Of
Integer
,
Integer
)
...
...
@@ -1693,17 +1693,17 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
whichOne
=
"1"
End
Function
End
Sub
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
Y
).
E
)
whichOne
=
"2"
End
Function
End
Sub
Sub
Scenario8
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
Call
Me
.
Foo
(
p1
)
End
Function
End
Sub
Friend
Sub
Foo
(
e2
As
sample7C1
(
Of
Short
).
E
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Sub
test
()
Dim
tc7
As
New
sample7C2
(
Of
Integer
,
Integer
)
...
...
@@ -1731,13 +1731,13 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
whichOne
=
"1"
End
Function
End
Sub
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
Y
).
E
)
whichOne
=
"2"
End
Function
End
Sub
Sub
Scenario8
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
Call
Me
.
Foo
(
p1
)
End
Function
End
Sub
End
Class
Sub
test
()
Dim
tc7
As
New
sample7C2
(
Of
Integer
,
Integer
)
...
...
@@ -1761,17 +1761,17 @@ Module Module1
Public
whichOne
As
String
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
whichOne
=
"1"
End
Function
End
Sub
Sub
Foo
(
ByVal
p1
As
sample7C1
(
Of
Y
).
E
)
whichOne
=
"2"
End
Function
End
Sub
Sub
Scenario8
(
ByVal
p1
As
sample7C1
(
Of
T
).
E
)
Call
Me
.
Foo
(
p1
)
End
Function
End
Sub
Friend
Sub
Foo
(
e3
As
sample7C1
(
Of
Byte
).
E
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Sub
test
()
Dim
tc7
As
New
sample7C2
(
Of
Integer
,
Integer
)
...
...
@@ -1789,12 +1789,12 @@ End Module
<
text
>
Module
Module1
Class
C0
(
Of
T
)
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
End
Class
Structure
S1
End
Structure
...
...
@@ -1815,16 +1815,16 @@ End Module
Module
Module1
Class
C0
(
Of
T
)
Sub
Foo
(
ByVal
t1
As
T
)
End
Function
End
Sub
End
Class
Class
C1
(
Of
T
,
Y
)
Inherits
C0
(
Of
T
)
Overloads
Sub
Foo
(
ByVal
y1
As
Y
)
End
Function
End
Sub
Friend
Sub
Foo
(
c2
As
C2
)
Throw
New
NotImplementedException
()
End
Function
End
Sub
End
Class
Structure
S1
End
Structure
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录