Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
8729402a
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,发现更多精彩内容 >>
提交
8729402a
编写于
2月 02, 2016
作者:
J
Jason Malinowski
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename AbstractEncProject to AbstractRoslynProject
The type is about to do more than just Edit and Continue!
上级
cad30e57
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
10 deletion
+10
-10
src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs
...Studio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/AbstractVsTextViewFilter`3.cs
...dio/Core/Def/Implementation/AbstractVsTextViewFilter`3.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/EditAndContinue/VsENCRebuildableProjectImpl.cs
...ementation/EditAndContinue/VsENCRebuildableProjectImpl.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/EditAndContinue/VsReadOnlyDocumentTracker.cs
...plementation/EditAndContinue/VsReadOnlyDocumentTracker.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/ProjectSystem/AbstractRoslynProject.cs
...Def/Implementation/ProjectSystem/AbstractRoslynProject.cs
+2
-2
src/VisualStudio/Core/Def/Implementation/ProjectSystem/AbstractRoslynProject_IVsENCRebuildableProjectCfg.cs
...stem/AbstractRoslynProject_IVsENCRebuildableProjectCfg.cs
+1
-1
src/VisualStudio/Core/Def/ServicesVisualStudio.csproj
src/VisualStudio/Core/Def/ServicesVisualStudio.csproj
+2
-2
src/VisualStudio/VisualBasic/Impl/ProjectSystemShim/VisualBasicProject.vb
.../VisualBasic/Impl/ProjectSystemShim/VisualBasicProject.vb
+1
-1
未找到文件。
src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs
浏览文件 @
8729402a
...
@@ -27,7 +27,7 @@ namespace Microsoft.VisualStudio.LanguageServices.CSharp.ProjectSystemShim
...
@@ -27,7 +27,7 @@ namespace Microsoft.VisualStudio.LanguageServices.CSharp.ProjectSystemShim
/// effectively methods that just QI from one interface to another), are implemented here.
/// effectively methods that just QI from one interface to another), are implemented here.
/// </remarks>
/// </remarks>
[
ExcludeFromCodeCoverage
]
[
ExcludeFromCodeCoverage
]
internal
abstract
partial
class
CSharpProjectShim
:
Abstract
Enc
Project
internal
abstract
partial
class
CSharpProjectShim
:
Abstract
Roslyn
Project
{
{
/// <summary>
/// <summary>
/// This member is used to store a raw array of warning numbers, which is needed to properly implement
/// This member is used to store a raw array of warning numbers, which is needed to properly implement
...
...
src/VisualStudio/Core/Def/Implementation/AbstractVsTextViewFilter`3.cs
浏览文件 @
8729402a
...
@@ -110,7 +110,7 @@ int IVsReadOnlyViewNotification.OnDisabledEditingCommand(ref Guid pguidCmdGuid,
...
@@ -110,7 +110,7 @@ int IVsReadOnlyViewNotification.OnDisabledEditingCommand(ref Guid pguidCmdGuid,
foreach
(
var
documentId
in
vsWorkspace
.
GetRelatedDocumentIds
(
container
))
foreach
(
var
documentId
in
vsWorkspace
.
GetRelatedDocumentIds
(
container
))
{
{
var
hostProject
=
vsWorkspace
.
GetHostProject
(
documentId
.
ProjectId
)
as
Abstract
Enc
Project
;
var
hostProject
=
vsWorkspace
.
GetHostProject
(
documentId
.
ProjectId
)
as
Abstract
Roslyn
Project
;
if
(
hostProject
?.
EditAndContinueImplOpt
!=
null
)
if
(
hostProject
?.
EditAndContinueImplOpt
!=
null
)
{
{
if
(
hostProject
.
EditAndContinueImplOpt
.
OnEdit
(
documentId
))
if
(
hostProject
.
EditAndContinueImplOpt
.
OnEdit
(
documentId
))
...
...
src/VisualStudio/Core/Def/Implementation/EditAndContinue/VsENCRebuildableProjectImpl.cs
浏览文件 @
8729402a
...
@@ -143,7 +143,7 @@ internal bool OnEdit(DocumentId documentId)
...
@@ -143,7 +143,7 @@ internal bool OnEdit(DocumentId documentId)
return
;
return
;
}
}
var
hostProject
=
_vsProject
.
VisualStudioWorkspace
.
GetHostProject
(
documentId
.
ProjectId
)
as
Abstract
Enc
Project
;
var
hostProject
=
_vsProject
.
VisualStudioWorkspace
.
GetHostProject
(
documentId
.
ProjectId
)
as
Abstract
Roslyn
Project
;
if
(
hostProject
?.
EditAndContinueImplOpt
?.
_metadata
!=
null
)
if
(
hostProject
?.
EditAndContinueImplOpt
?.
_metadata
!=
null
)
{
{
var
projectHierarchy
=
_vsProject
.
VisualStudioWorkspace
.
GetHierarchy
(
documentId
.
ProjectId
);
var
projectHierarchy
=
_vsProject
.
VisualStudioWorkspace
.
GetHierarchy
(
documentId
.
ProjectId
);
...
...
src/VisualStudio/Core/Def/Implementation/EditAndContinue/VsReadOnlyDocumentTracker.cs
浏览文件 @
8729402a
...
@@ -87,7 +87,7 @@ private void SetReadOnly(Document document)
...
@@ -87,7 +87,7 @@ private void SetReadOnly(Document document)
{
{
// Only set documents read-only if they're part of a project that supports Enc.
// Only set documents read-only if they're part of a project that supports Enc.
var
workspace
=
document
.
Project
.
Solution
.
Workspace
as
VisualStudioWorkspaceImpl
;
var
workspace
=
document
.
Project
.
Solution
.
Workspace
as
VisualStudioWorkspaceImpl
;
var
project
=
workspace
?.
ProjectTracker
?.
GetProject
(
document
.
Project
.
Id
)
as
Abstract
Enc
Project
;
var
project
=
workspace
?.
ProjectTracker
?.
GetProject
(
document
.
Project
.
Id
)
as
Abstract
Roslyn
Project
;
if
(
project
!=
null
)
if
(
project
!=
null
)
{
{
...
...
src/VisualStudio/Core/Def/Implementation/ProjectSystem/Abstract
Enc
Project.cs
→
src/VisualStudio/Core/Def/Implementation/ProjectSystem/Abstract
Roslyn
Project.cs
浏览文件 @
8729402a
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
namespace
Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
namespace
Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
{
{
internal
abstract
partial
class
Abstract
Enc
Project
:
AbstractProject
internal
abstract
partial
class
Abstract
Roslyn
Project
:
AbstractProject
{
{
internal
VsENCRebuildableProjectImpl
EditAndContinueImplOpt
;
internal
VsENCRebuildableProjectImpl
EditAndContinueImplOpt
;
public
Abstract
Enc
Project
(
public
Abstract
Roslyn
Project
(
VisualStudioProjectTracker
projectTracker
,
VisualStudioProjectTracker
projectTracker
,
Func
<
ProjectId
,
IVsReportExternalErrors
>
reportExternalErrorCreatorOpt
,
Func
<
ProjectId
,
IVsReportExternalErrors
>
reportExternalErrorCreatorOpt
,
string
projectSystemName
,
string
projectSystemName
,
...
...
src/VisualStudio/Core/Def/Implementation/ProjectSystem/Abstract
Enc
Project_IVsENCRebuildableProjectCfg.cs
→
src/VisualStudio/Core/Def/Implementation/ProjectSystem/Abstract
Roslyn
Project_IVsENCRebuildableProjectCfg.cs
浏览文件 @
8729402a
...
@@ -9,7 +9,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
...
@@ -9,7 +9,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
{
{
// Dev11 implementation: csharp\radmanaged\Features\EditAndContinue\EncProject.cs
// Dev11 implementation: csharp\radmanaged\Features\EditAndContinue\EncProject.cs
internal
partial
class
Abstract
Enc
Project
:
EncInterop
.
IVsENCRebuildableProjectCfg2
,
EncInterop
.
IVsENCRebuildableProjectCfg4
internal
partial
class
Abstract
Roslyn
Project
:
EncInterop
.
IVsENCRebuildableProjectCfg2
,
EncInterop
.
IVsENCRebuildableProjectCfg4
{
{
public
int
HasCustomMetadataEmitter
(
out
bool
value
)
public
int
HasCustomMetadataEmitter
(
out
bool
value
)
{
{
...
...
src/VisualStudio/Core/Def/ServicesVisualStudio.csproj
浏览文件 @
8729402a
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<Compile
Include=
"Implementation\Preview\ReferenceChange.AnalyzerReferenceChange.cs"
/>
<Compile
Include=
"Implementation\Preview\ReferenceChange.AnalyzerReferenceChange.cs"
/>
<Compile
Include=
"Implementation\Preview\ReferenceChange.ProjectReferenceChange.cs"
/>
<Compile
Include=
"Implementation\Preview\ReferenceChange.ProjectReferenceChange.cs"
/>
<Compile
Include=
"Implementation\Preview\ReferenceChange.cs"
/>
<Compile
Include=
"Implementation\Preview\ReferenceChange.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\Abstract
Enc
Project.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\Abstract
Roslyn
Project.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\IVisualStudioWorkingFolder.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\IVisualStudioWorkingFolder.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\MetadataReferences\VisualStudioAnalyzerAssemblyLoaderService.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\MetadataReferences\VisualStudioAnalyzerAssemblyLoaderService.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\RuleSets\RuleSetEventHandler.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\RuleSets\RuleSetEventHandler.cs"
/>
...
@@ -559,7 +559,7 @@
...
@@ -559,7 +559,7 @@
<Compile
Include=
"Implementation\ProjectSystem\AbstractEntryPointFinder.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractEntryPointFinder.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject_IAnalyzerHost.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject_IAnalyzerHost.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\Abstract
Enc
Project_IVsENCRebuildableProjectCfg.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\Abstract
Roslyn
Project_IVsENCRebuildableProjectCfg.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject_IVsReportExternalErrors.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\AbstractProject_IVsReportExternalErrors.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\ComEventSink.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\ComEventSink.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\DocumentKey.cs"
/>
<Compile
Include=
"Implementation\ProjectSystem\DocumentKey.cs"
/>
...
...
src/VisualStudio/VisualBasic/Impl/ProjectSystemShim/VisualBasicProject.vb
浏览文件 @
8729402a
...
@@ -15,7 +15,7 @@ Imports Microsoft.VisualStudio.TextManager.Interop
...
@@ -15,7 +15,7 @@ Imports Microsoft.VisualStudio.TextManager.Interop
Namespace
Microsoft.VisualStudio.LanguageServices.VisualBasic.ProjectSystemShim
Namespace
Microsoft.VisualStudio.LanguageServices.VisualBasic.ProjectSystemShim
Partial
Friend
MustInherit
Class
VisualBasicProject
Partial
Friend
MustInherit
Class
VisualBasicProject
Inherits
Abstract
Enc
Project
Inherits
Abstract
Roslyn
Project
Implements
IVbCompilerProject
Implements
IVbCompilerProject
Implements
IVisualStudioHostProject
Implements
IVisualStudioHostProject
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录