Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
b1c3a128
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,发现更多精彩内容 >>
提交
b1c3a128
编写于
12月 26, 2016
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix serialization issue in testsz
上级
49edd3c3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
13 deletion
+13
-13
Compilers.sln
Compilers.sln
+10
-10
src/Test/Utilities/Desktop/CodeRuntime/DesktopRuntimeEnvironment.cs
...tilities/Desktop/CodeRuntime/DesktopRuntimeEnvironment.cs
+1
-1
src/Test/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs
...t/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs
+2
-2
未找到文件。
Compilers.sln
浏览文件 @
b1c3a128
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 1
4
VisualStudioVersion = 1
4.0.25420.1
# Visual Studio 1
5
VisualStudioVersion = 1
5.0.26021.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeAnalysisTest", "src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj", "{A4C99B85-765C-4C65-9C2A-BB609AAB09E6}"
EndProject
...
...
@@ -1180,22 +1180,22 @@ Global
{14118347-ED06-4608-9C45-18228273C712}.Release|x86.Build.0 = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|ARM.ActiveCfg = Debug|A
RM
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|ARM.Build.0 = Debug|A
RM
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|ARM.ActiveCfg = Debug|A
ny CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|ARM.Build.0 = Debug|A
ny CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x64.ActiveCfg = Debug|
x64
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x64.Build.0 = Debug|
x64
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x64.ActiveCfg = Debug|
Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x64.Build.0 = Debug|
Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x86.ActiveCfg = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Debug|x86.Build.0 = Debug|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|Any CPU.ActiveCfg = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|Any CPU.Build.0 = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|ARM.ActiveCfg = Release|A
RM
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|ARM.Build.0 = Release|A
RM
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|ARM.ActiveCfg = Release|A
ny CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|ARM.Build.0 = Release|A
ny CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x64.ActiveCfg = Release|
x64
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x64.Build.0 = Release|
x64
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x64.ActiveCfg = Release|
Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x64.Build.0 = Release|
Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x86.ActiveCfg = Release|Any CPU
{67CA3EEE-37F1-4EDF-BD9B-C11911748F37}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
...
...
src/Test/Utilities/Desktop/CodeRuntime/DesktopRuntimeEnvironment.cs
浏览文件 @
b1c3a128
...
...
@@ -319,7 +319,7 @@ public string[] PeVerifyModules(string[] modulesToVerify, bool throwOnError = tr
public
SortedSet
<
string
>
GetMemberSignaturesFromMetadata
(
string
fullyQualifiedTypeName
,
string
memberName
)
{
var
emitData
=
GetEmitData
();
var
searchIds
=
emitData
.
AllModuleData
.
Select
(
x
=>
x
.
Id
).
ToList
();
var
searchIds
=
emitData
.
AllModuleData
.
Select
(
x
=>
new
RuntimeModuleDataId
(
x
.
Id
)
).
ToList
();
return
GetEmitData
().
Manager
.
GetMemberSignaturesFromMetadata
(
fullyQualifiedTypeName
,
memberName
,
searchIds
);
}
...
...
src/Test/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs
浏览文件 @
b1c3a128
...
...
@@ -329,12 +329,12 @@ private Module ModuleResolve(object sender, ResolveEventArgs args)
return
assembly
.
LoadModule
(
args
.
Name
,
rawModule
.
ToArray
());
}
public
SortedSet
<
string
>
GetMemberSignaturesFromMetadata
(
string
fullyQualifiedTypeName
,
string
memberName
,
List
<
ModuleDataId
>
searchModules
)
public
SortedSet
<
string
>
GetMemberSignaturesFromMetadata
(
string
fullyQualifiedTypeName
,
string
memberName
,
List
<
Runtime
ModuleDataId
>
searchModules
)
{
try
{
var
signatures
=
new
SortedSet
<
string
>();
foreach
(
var
id
in
searchModules
)
// Check inside each assembly in the compilation
foreach
(
var
id
in
searchModules
.
Select
(
x
=>
x
.
Id
)
)
// Check inside each assembly in the compilation
{
var
assembly
=
GetAssembly
(
id
.
FullName
,
reflectionOnly
:
true
);
foreach
(
var
signature
in
MetadataSignatureHelper
.
GetMemberSignatures
(
assembly
,
fullyQualifiedTypeName
,
memberName
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录