Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
5ecae05e
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,发现更多精彩内容 >>
提交
5ecae05e
编写于
1月 17, 2020
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Test Work
上级
cbc808b0
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
16 addition
and
14 deletion
+16
-14
src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
...t/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
+2
-2
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
+2
-2
src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
...Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
+1
-1
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
...pilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
+1
-1
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenRefReturnTests.vb
...rs/VisualBasic/Test/Emit/CodeGen/CodeGenRefReturnTests.vb
+1
-0
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
+6
-6
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
+1
-1
src/Scripting/CSharpTest/InteractiveSessionTests.cs
src/Scripting/CSharpTest/InteractiveSessionTests.cs
+1
-1
src/Test/Utilities/Portable/FX/CappedStringWriter.cs
src/Test/Utilities/Portable/FX/CappedStringWriter.cs
+1
-0
未找到文件。
src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
浏览文件 @
5ecae05e
...
...
@@ -360,7 +360,7 @@ public void PubKeyContainerBogusOptions(CSharpParseOptions parseOptions)
Assert
.
Equal
((
int
)
ErrorCode
.
ERR_PublicKeyContainerFailure
,
err
.
Code
);
Assert
.
Equal
(
2
,
err
.
Arguments
.
Count
);
Assert
.
Equal
(
"goo"
,
err
.
Arguments
[
0
]);
Assert
.
True
(((
string
)
err
.
Arguments
[
1
]).
EndsWith
(
"
HRESULT: 0x80090016)"
,
StringComparison
.
Ordinal
)
);
Assert
.
True
(((
string
)
err
.
Arguments
[
1
]).
EndsWith
(
"
0x80090016)"
,
StringComparison
.
Ordinal
),
(
string
)
err
.
Arguments
[
1
]
);
Assert
.
True
(
other
.
Assembly
.
Identity
.
PublicKey
.
IsEmpty
);
}
...
...
@@ -1452,7 +1452,7 @@ public void SignModuleKeyContainerBogus(CSharpParseOptions parseOptions)
Assert
.
Equal
((
int
)
ErrorCode
.
ERR_PublicKeyContainerFailure
,
err
.
Code
);
Assert
.
Equal
(
2
,
err
.
Arguments
.
Count
);
Assert
.
Equal
(
"bogus"
,
err
.
Arguments
[
0
]);
Assert
.
True
(((
string
)
err
.
Arguments
[
1
]).
EndsWith
(
"
HRESULT: 0x80090016)"
,
StringComparison
.
Ordinal
)
);
Assert
.
True
(((
string
)
err
.
Arguments
[
1
]).
EndsWith
(
"
0x80090016)"
,
StringComparison
.
Ordinal
),
(
string
)
err
.
Arguments
[
1
]
);
}
[
Theory
]
...
...
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
浏览文件 @
5ecae05e
...
...
@@ -9819,7 +9819,7 @@ .maxstack 4
"
);
}
[
Fact
]
[
ConditionalFact
(
typeof
(
DesktopOnly
),
Reason
=
"https://github.com/dotnet/metadata-tools/issues/30"
)
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
538246
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/538246"
),
WorkItem
(
543655
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543655"
)]
public
void
FloatDoubleInfinity
()
...
...
@@ -11342,7 +11342,7 @@ .maxstack 5
}"
);
}
[
Fact
]
[
ConditionalFact
(
typeof
(
DesktopOnly
),
Reason
=
"https://github.com/dotnet/runtime/issues/1611"
)
]
[
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)]
[
WorkItem
(
34198
,
"https://github.com/dotnet/roslyn/issues/34198"
)]
public
void
DecimalBinaryOp_03
()
...
...
src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
浏览文件 @
5ecae05e
...
...
@@ -276,7 +276,7 @@ public void TestSeparatedListFactory_DefaultSeparators()
Assert
.
Equal
(
"x,y,z"
,
list2
.
ToString
());
}
[
Fact
]
[
ConditionalFact
(
typeof
(
DesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/40875"
)
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
720708
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/720708"
)]
public
void
TestLiteralDefaultStringValues
()
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
浏览文件 @
5ecae05e
...
...
@@ -181,7 +181,7 @@ End Module
End
Sub
<
Fact
>
<
ConditionalFact
(
GetType
(
DesktopOnly
),
Reason
:
=
"https://github.com/dotnet/metadata-tools/issues/30"
)
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
Public
Sub
TestDoubleConstLocal
()
Dim
verifier
=
CompileAndVerify
(
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenRefReturnTests.vb
浏览文件 @
5ecae05e
...
...
@@ -1119,6 +1119,7 @@ public class B
F(New B(), a)
Catch e As System.Exception
System.Console.Write(e.Message)
System.Console.WriteLine(e.StackTrace)
Finally
System.Threading.Thread.CurrentThread.CurrentCulture = saveCulture
End Try
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
浏览文件 @
5ecae05e
...
...
@@ -628,7 +628,7 @@ expectedOutput:=<![CDATA[
<
WorkItem
(
568520
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/568520"
)
>
<
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)
>
<
WorkItem
(
375
,
"https://github.com/dotnet/roslyn/issues/375"
)
>
<
Fact
>
<
ConditionalFact
(
GetType
(
DesktopOnly
))
>
Public
Sub
DecimalLiteral_BreakingChange
()
CompileAndVerify
(
...
...
@@ -5283,11 +5283,11 @@ Class MyArray
Static B01#(3), B02!(idx), B03$(fidx)
B01(0) = 1.1#
B01#(2) = 2.2!
Console.WriteLine(B01(0).ToString(cul))
Console.WriteLine(B01(2).ToString(cul))
Console.WriteLine(B01(0).ToString(
"
G15
",
cul))
Console.WriteLine(B01(2).ToString(
"
G15
",
cul))
B02!(idx - 1) = 0.123
Console.WriteLine(B02(idx - 1).ToString(cul))
Console.WriteLine(B02(idx - 1).ToString(
"
G6
",
cul))
B03$(fidx - 1) = "
c
c
"
Console.WriteLine(B03(1))
...
...
@@ -13824,7 +13824,7 @@ End Module
]]>)
End Sub
<
Fact
>
<
ConditionalFact(GetType(DesktopOnly), Reason:="
https
:
//
github
.
com
/
dotnet
/
metadata
-
tools
/
issues
/
30
")
>
<WorkItem(33564, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")>
<WorkItem(7148, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
7148
")>
Public Sub Issue7148_1()
...
...
@@ -13870,7 +13870,7 @@ End Class
]]>)
End Sub
<
Fact
>
<
ConditionalFact(GetType(DesktopOnly), Reason:="
https
:
//
github
.
com
/
dotnet
/
metadata
-
tools
/
issues
/
30
")
>
<WorkItem(33564, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")>
<WorkItem(7148, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
7148
")>
Public Sub Issue7148_2()
...
...
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
浏览文件 @
5ecae05e
...
...
@@ -170,7 +170,7 @@ > Math.PI
>"
,
runner
.
Console
.
Out
.
ToString
());
}
[
ConditionalFact
(
typeof
(
Clr
Only
),
Reason
=
"https://github.com/dotnet/roslyn/issues/30924"
)]
[
ConditionalFact
(
typeof
(
WindowsDesktop
Only
),
Reason
=
"https://github.com/dotnet/roslyn/issues/30924"
)]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
7133
,
"http://github.com/dotnet/roslyn/issues/7133"
)]
public
void
TestDisplayResultsWithCurrentUICulture2
()
...
...
src/Scripting/CSharpTest/InteractiveSessionTests.cs
浏览文件 @
5ecae05e
...
...
@@ -1598,7 +1598,7 @@ public void HostObjectInRootNamespace()
Assert
.
Equal
(
1
,
r1
.
Result
);
}
[
ConditionalFact
(
typeof
(
Clr
Only
),
Reason
=
"https://github.com/dotnet/roslyn/issues/30303"
)]
[
ConditionalFact
(
typeof
(
WindowsDesktop
Only
),
Reason
=
"https://github.com/dotnet/roslyn/issues/30303"
)]
public
void
HostObjectAssemblyReference1
()
{
var
scriptCompilation
=
CSharpScript
.
Create
(
...
...
src/Test/Utilities/Portable/FX/CappedStringWriter.cs
浏览文件 @
5ecae05e
...
...
@@ -31,6 +31,7 @@ public CappedStringWriter(int expectedLength)
_expectedLength
=
expectedLength
;
_remaining
=
Math
.
Max
(
256
,
expectedLength
*
4
);
}
_remaining
=
int
.
MaxValue
;
}
private
void
CapReached
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录