Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
aeb20570
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,发现更多精彩内容 >>
提交
aeb20570
编写于
1月 16, 2019
作者:
A
AlekseyTs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Target netcoreapp3.0 for Default Interface Implementation tests.
上级
8b3de828
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
84 addition
and
45 deletion
+84
-45
eng/Versions.props
eng/Versions.props
+4
-2
eng/build.ps1
eng/build.ps1
+3
-1
global.json
global.json
+1
-1
src/Compilers/CSharp/Test/Symbol/Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests.csproj
...bol/Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests.csproj
+4
-1
src/Compilers/CSharp/Test/Symbol/Symbols/DefaultInterfaceImplementationTests.cs
...est/Symbol/Symbols/DefaultInterfaceImplementationTests.cs
+69
-37
src/Compilers/CSharp/Test/Symbol/Symbols/IndexerTests.cs
src/Compilers/CSharp/Test/Symbol/Symbols/IndexerTests.cs
+1
-1
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolErrorTests.cs
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolErrorTests.cs
+1
-1
src/Test/Utilities/Portable/Platform/CoreClr/TestExecutionLoadContext.cs
...ies/Portable/Platform/CoreClr/TestExecutionLoadContext.cs
+1
-1
未找到文件。
eng/Versions.props
浏览文件 @
aeb20570
...
...
@@ -74,10 +74,12 @@
<MicrosoftMSXMLVersion>
8.0.0.0-alpha
</MicrosoftMSXMLVersion>
<MicrosoftNetCompilersVersion>
2.9.0-beta7-63018-03
</MicrosoftNetCompilersVersion>
<MicrosoftNetCoreAnalyzersVersion>
$(RoslynDiagnosticsNugetPackageVersion)
</MicrosoftNetCoreAnalyzersVersion>
<MicrosoftNetCoreILAsmVersion>
2.0.0
</MicrosoftNetCoreILAsmVersion>
<!-- PROTOTYPE(DefaultInterfaceImplementation): The MicrosoftNetCoreILAsmVersion was 2.0.0 -->
<MicrosoftNetCoreILAsmVersion>
3.0.0-preview-27312-01
</MicrosoftNetCoreILAsmVersion>
<MicrosoftNETCoreCompilersVersion>
2.9.0-beta7-63018-03
</MicrosoftNETCoreCompilersVersion>
<MicrosoftNETCorePlatformsVersion>
2.1.0
</MicrosoftNETCorePlatformsVersion>
<MicrosoftNETCoreRuntimeCoreCLRVersion>
2.0.0
</MicrosoftNETCoreRuntimeCoreCLRVersion>
<!-- PROTOTYPE(DefaultInterfaceImplementation): The MicrosoftNETCoreRuntimeCoreCLRVersion was 2.0.0 -->
<MicrosoftNETCoreRuntimeCoreCLRVersion>
3.0.0-preview-27313-3
</MicrosoftNETCoreRuntimeCoreCLRVersion>
<!-- Using a private build of Microsoft.Net.Test.SDK to work around issue https://github.com/Microsoft/vstest/issues/1764 -->
<MicrosoftNETTestSdkVersion>
15.9.0-dev2
</MicrosoftNETTestSdkVersion>
<MicrosoftServiceHubClientVersion>
1.3.23
</MicrosoftServiceHubClientVersion>
...
...
eng/build.ps1
浏览文件 @
aeb20570
...
...
@@ -154,7 +154,9 @@ function BuildSolution() {
$enableAnalyzers
=
!
$skipAnalyzers
$toolsetBuildProj
=
InitializeToolset
$quietRestore
=
!
$ci
$testTargetFrameworks
=
if
(
$testCoreClr
)
{
"netcoreapp2.1"
}
else
{
""
}
# PROTOTYPE(DefaultInterfaceImplementation): Added "netcoreapp3.0%3B", original value was "netcoreapp2.1"
$testTargetFrameworks
=
if
(
$testCoreClr
)
{
"netcoreapp3.0%3Bnetcoreapp2.1"
}
else
{
""
}
# Do not set the property to true explicitly, since that would override value projects might set.
$suppressExtensionDeployment
=
if
(
!
$deployExtensions
)
{
"/p:DeployExtension=false"
}
else
{
""
}
...
...
global.json
浏览文件 @
aeb20570
{
"tools"
:
{
"dotnet"
:
"
2.1.401
"
,
"dotnet"
:
"
3.0.100-preview-010088
"
,
"vs"
:
{
"version"
:
"15.8"
},
...
...
src/Compilers/CSharp/Test/Symbol/Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests.csproj
浏览文件 @
aeb20570
...
...
@@ -7,7 +7,8 @@
<OutputType>
Library
</OutputType>
<RootNamespace>
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests
</RootNamespace>
<NoStdLib>
true
</NoStdLib>
<TargetFrameworks>
$(RoslynPortableTargetFrameworks)
</TargetFrameworks>
<!-- PROTOTYPE(DefaultInterfaceImplementation): TargetFrameworks simply used to inherit $(RoslynPortableTargetFrameworks) -->
<TargetFrameworks>
net472;netcoreapp3.0
</TargetFrameworks>
<RoslynProjectType>
UnitTestPortable
</RoslynProjectType>
<RuntimeIdentifiers>
$(RoslynPortableRuntimeIdentifiers)
</RuntimeIdentifiers>
<AllowUnsafeBlocks>
true
</AllowUnsafeBlocks>
...
...
@@ -26,6 +27,8 @@
<ProjectReference
Include=
"..\..\..\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.vbproj"
/>
<ProjectReference
Include=
"..\..\Portable\Microsoft.CodeAnalysis.CSharp.csproj"
/>
<ProjectReference
Include=
"..\..\..\..\Test\PdbUtilities\Roslyn.Test.PdbUtilities.csproj"
/>
<!-- PROTOTYPE(DefaultInterfaceImplementation): Added explicit reference below -->
<PackageReference
Include=
"Microsoft.NETCore.App"
Version=
"$(MicrosoftNETCoreRuntimeCoreCLRVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp3.0'"
/>
</ItemGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Release|AnyCPU'"
/>
...
...
src/Compilers/CSharp/Test/Symbol/Symbols/DefaultInterfaceImplementationTests.cs
浏览文件 @
aeb20570
此差异已折叠。
点击以展开。
src/Compilers/CSharp/Test/Symbol/Symbols/IndexerTests.cs
浏览文件 @
aeb20570
...
...
@@ -1770,7 +1770,7 @@ interface B
}
"
;
// CONSIDER: this cascading is a bit verbose.
CreateCompilation
(
source
,
parseOptions
:
TestOptions
.
Regular7
).
VerifyDiagnostics
(
CreateCompilation
(
source
,
parseOptions
:
TestOptions
.
Regular7
).
VerifyDiagnostics
(
// (18,18): error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
// [IndexerName(A.Constant2)]
Diagnostic
(
ErrorCode
.
ERR_BadAttributeArgument
,
"A.Constant2"
).
WithLocation
(
18
,
18
),
...
...
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolErrorTests.cs
浏览文件 @
aeb20570
...
...
@@ -8826,7 +8826,7 @@ private enum E { zero, one }
}
";
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7);
comp.VerifyDiagnostics(
// (5,19): error CS8107: Feature 'default interface implementation' is not available in C# 7. Please use language version 7.1 or greater.
// interface IBar { }
...
...
src/Test/Utilities/Portable/Platform/CoreClr/TestExecutionLoadContext.cs
浏览文件 @
aeb20570
...
...
@@ -139,7 +139,7 @@ private Assembly LoadImageAsAssembly(ImmutableArray<byte> mainImage)
var
platformAssemblies
=
((
string
)
AppContext
.
GetData
(
"TRUSTED_PLATFORM_ASSEMBLIES"
)).
Split
(
Path
.
PathSeparator
);
foreach
(
var
assemblyPath
in
platformAssemblies
)
{
if
(
TryGetAssemblyName
(
assemblyPath
,
out
string
assemblyName
))
if
(
!
String
.
IsNullOrEmpty
(
assemblyPath
)
&&
TryGetAssemblyName
(
assemblyPath
,
out
string
assemblyName
))
{
assemblyNames
.
Add
(
assemblyName
,
assemblyPath
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录