Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
28f4caa4
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,发现更多精彩内容 >>
提交
28f4caa4
编写于
12月 22, 2016
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Re-arranging portable TestUtilities part 3
Code move before refactoring it.
上级
1ce0fd18
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
17 addition
and
13 deletion
+17
-13
src/Compilers/Test/Utilities/CSharp.Desktop/CSharpTestBase.cs
...Compilers/Test/Utilities/CSharp.Desktop/CSharpTestBase.cs
+1
-0
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenWinMdEvents.vb
...ilers/VisualBasic/Test/Emit/CodeGen/CodeGenWinMdEvents.vb
+1
-0
src/Test/Utilities/Desktop/CodeRuntime/AppDomainAssemblyCache.cs
...t/Utilities/Desktop/CodeRuntime/AppDomainAssemblyCache.cs
+1
-1
src/Test/Utilities/Desktop/CodeRuntime/DesktopRuntimeEnvironment.cs
...tilities/Desktop/CodeRuntime/DesktopRuntimeEnvironment.cs
+3
-3
src/Test/Utilities/Desktop/CodeRuntime/DesktopRuntimeEnvironmentFactory.cs
...s/Desktop/CodeRuntime/DesktopRuntimeEnvironmentFactory.cs
+3
-2
src/Test/Utilities/Desktop/CodeRuntime/Exceptions.cs
src/Test/Utilities/Desktop/CodeRuntime/Exceptions.cs
+2
-1
src/Test/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs
...t/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs
+1
-1
src/Test/Utilities/Desktop/TestUtilities.Desktop.csproj
src/Test/Utilities/Desktop/TestUtilities.Desktop.csproj
+5
-5
未找到文件。
src/Compilers/Test/Utilities/CSharp.Desktop/CSharpTestBase.cs
浏览文件 @
28f4caa4
...
...
@@ -21,6 +21,7 @@
using
Roslyn.Utilities
;
using
Xunit
;
using
Roslyn.Test.Utilities
;
using
Microsoft.CodeAnalysis.Test.Utilities.CodeRuntime
;
namespace
Microsoft.CodeAnalysis.CSharp.Test.Utilities
{
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenWinMdEvents.vb
浏览文件 @
28f4caa4
...
...
@@ -2,6 +2,7 @@
Imports
Microsoft.CodeAnalysis
Imports
Microsoft.CodeAnalysis.Test.Utilities
Imports
Microsoft.CodeAnalysis.Test.Utilities.CodeRuntime
Imports
Microsoft.CodeAnalysis.VisualBasic
Imports
Roslyn.Test.Utilities
...
...
src/Test/Utilities/Desktop/AppDomainAssemblyCache.cs
→
src/Test/Utilities/Desktop/
CodeRuntime/
AppDomainAssemblyCache.cs
浏览文件 @
28f4caa4
...
...
@@ -8,7 +8,7 @@
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Microsoft.CodeAnalysis.Test.Utilities
namespace
Microsoft.CodeAnalysis.Test.Utilities
.CodeRuntime
{
/// <summary>
/// This is a singleton per AppDomain which manages all of the assemblies which were ever loaded into it.
...
...
src/Test/Utilities/Desktop/
Hosted
RuntimeEnvironment.cs
→
src/Test/Utilities/Desktop/
CodeRuntime/Desktop
RuntimeEnvironment.cs
浏览文件 @
28f4caa4
...
...
@@ -14,9 +14,9 @@
using
Roslyn.Utilities
;
using
static
Roslyn
.
Test
.
Utilities
.
RuntimeUtilities
;
namespace
Microsoft.CodeAnalysis.Test.Utilities
namespace
Microsoft.CodeAnalysis.Test.Utilities
.CodeRuntime
{
public
sealed
class
Hosted
RuntimeEnvironment
:
IDisposable
,
IRuntimeEnvironment
,
IInternalRuntimeEnvironment
public
sealed
class
Desktop
RuntimeEnvironment
:
IDisposable
,
IRuntimeEnvironment
,
IInternalRuntimeEnvironment
{
private
sealed
class
RuntimeData
:
IDisposable
{
...
...
@@ -86,7 +86,7 @@ internal EmitData()
private
readonly
CompilationTestData
_testData
=
new
CompilationTestData
();
private
readonly
IEnumerable
<
ModuleData
>
_additionalDependencies
;
public
Hosted
RuntimeEnvironment
(
IEnumerable
<
ModuleData
>
additionalDependencies
=
null
)
public
Desktop
RuntimeEnvironment
(
IEnumerable
<
ModuleData
>
additionalDependencies
=
null
)
{
_additionalDependencies
=
additionalDependencies
;
}
...
...
src/Test/Utilities/Desktop/DesktopRuntimeEnvironmentFactory.cs
→
src/Test/Utilities/Desktop/
CodeRuntime/
DesktopRuntimeEnvironmentFactory.cs
浏览文件 @
28f4caa4
...
...
@@ -4,14 +4,15 @@
using
System.Text
;
using
System.Threading.Tasks
;
using
Microsoft.CodeAnalysis.Test.Utilities
;
using
Roslyn.Test.Utilities
;
namespace
Roslyn.Test.Utilities
namespace
Microsoft.CodeAnalysis.Test.Utilities.CodeRuntime
{
public
sealed
class
DesktopRuntimeEnvironmentFactory
:
IRuntimeEnvironmentFactory
{
public
IRuntimeEnvironment
Create
(
IEnumerable
<
ModuleData
>
additionalDependencies
)
{
return
new
Hosted
RuntimeEnvironment
(
additionalDependencies
);
return
new
Desktop
RuntimeEnvironment
(
additionalDependencies
);
}
}
}
src/Test/Utilities/Desktop/Exceptions.cs
→
src/Test/Utilities/Desktop/
CodeRuntime/
Exceptions.cs
浏览文件 @
28f4caa4
...
...
@@ -3,9 +3,10 @@
using
System
;
using
System.Collections.Generic
;
using
System.Runtime.Serialization
;
using
Microsoft.CodeAnalysis
;
using
static
Roslyn
.
Test
.
Utilities
.
ExceptionHelper
;
namespace
Microsoft.CodeAnalysis.Test.Utilities
namespace
Microsoft.CodeAnalysis.Test.Utilities
.CodeRuntime
{
[
Serializable
]
public
class
EmitException
:
Exception
...
...
src/Test/Utilities/Desktop/RuntimeAssemblyManager.cs
→
src/Test/Utilities/Desktop/
CodeRuntime/
RuntimeAssemblyManager.cs
浏览文件 @
28f4caa4
...
...
@@ -9,7 +9,7 @@
using
System.Text
;
using
Roslyn.Test.Utilities
;
namespace
Microsoft.CodeAnalysis.Test.Utilities
namespace
Microsoft.CodeAnalysis.Test.Utilities
.CodeRuntime
{
internal
sealed
class
RuntimeAssemblyManager
:
MarshalByRefObject
,
IDisposable
{
...
...
src/Test/Utilities/Desktop/TestUtilities.Desktop.csproj
浏览文件 @
28f4caa4
...
...
@@ -87,20 +87,20 @@
</Compile>
<Compile
Include=
"AppDomainUtils.cs"
/>
<Compile
Include=
"CLRHelpers.cs"
/>
<Compile
Include=
"DesktopRuntimeEnvironmentFactory.cs"
/>
<Compile
Include=
"
CodeRuntime\
DesktopRuntimeEnvironmentFactory.cs"
/>
<Compile
Include=
"DesktopRuntimeUtil.cs"
/>
<Compile
Include=
"InstrumentationChecker.cs"
/>
<Compile
Include=
"ConditionalFactAttribute.cs"
/>
<Compile
Include=
"ObjectReference.cs"
/>
<Compile
Include=
"AppDomainAssemblyCache.cs"
/>
<Compile
Include=
"Exceptions.cs"
/>
<Compile
Include=
"
CodeRuntime\
AppDomainAssemblyCache.cs"
/>
<Compile
Include=
"
CodeRuntime\
Exceptions.cs"
/>
<Compile
Include=
"Extensions.cs"
/>
<Compile
Include=
"RuntimeAssemblyManager.cs"
/>
<Compile
Include=
"
CodeRuntime\
RuntimeAssemblyManager.cs"
/>
<Compile
Include=
"SharedResourceHelpers.cs"
/>
<Compile
Include=
"CommonDiagnosticAnalyzers.cs"
/>
<Compile
Include=
"CultureContext.cs"
/>
<Compile
Include=
"ErrorDiagnostics.cs"
/>
<Compile
Include=
"
Hosted
RuntimeEnvironment.cs"
/>
<Compile
Include=
"
CodeRuntime\Desktop
RuntimeEnvironment.cs"
/>
<Compile
Include=
"MetadataSignatureHelper.cs"
/>
<Compile
Include=
"SigningTestHelpers.cs"
/>
<Compile
Include=
"TestHelpers.cs"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录