Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9864f50f
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,发现更多精彩内容 >>
提交
9864f50f
编写于
5月 01, 2019
作者:
S
Sam Harwell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make importing constructors public to fix RS0034 (Exported parts should have ImportingConstructor)
上级
292bafdc
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
82 addition
and
82 deletion
+82
-82
src/EditorFeatures/CSharp/TextStructureNavigation/TextStructureNavigatorProvider.cs
...TextStructureNavigation/TextStructureNavigatorProvider.cs
+1
-1
src/EditorFeatures/Core.Wpf/BraceMatching/ClassificationTypeFormatDefinitions.cs
....Wpf/BraceMatching/ClassificationTypeFormatDefinitions.cs
+1
-1
src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
...Wpf/Classification/ClassificationTypeFormatDefinitions.cs
+55
-55
src/EditorFeatures/Core.Wpf/Diagnostics/UnnecessaryCodeFormatDefinition.cs
...s/Core.Wpf/Diagnostics/UnnecessaryCodeFormatDefinition.cs
+1
-1
src/EditorFeatures/Core.Wpf/InlineRename/Taggers/ClassificationTypeDefinitions.cs
...Wpf/InlineRename/Taggers/ClassificationTypeDefinitions.cs
+1
-1
src/EditorFeatures/Core.Wpf/Interactive/InteractiveDocumentNavigationServiceFactory.cs
...nteractive/InteractiveDocumentNavigationServiceFactory.cs
+1
-1
src/EditorFeatures/Core/FindReferences/FindReferencesCommandHandler.cs
...tures/Core/FindReferences/FindReferencesCommandHandler.cs
+1
-1
src/EditorFeatures/Core/Implementation/CommentSelection/CommentUncommentSelectionCommandHandler.cs
...mmentSelection/CommentUncommentSelectionCommandHandler.cs
+1
-1
src/EditorFeatures/Core/Implementation/EditAndContinue/ActiveStatementTrackingService.cs
...ntation/EditAndContinue/ActiveStatementTrackingService.cs
+1
-1
src/EditorFeatures/Core/Implementation/Peek/PeekableItemFactory.cs
...rFeatures/Core/Implementation/Peek/PeekableItemFactory.cs
+1
-1
src/EditorFeatures/Core/Shared/Utilities/ClassificationTypeMap.cs
...orFeatures/Core/Shared/Utilities/ClassificationTypeMap.cs
+1
-1
src/EditorFeatures/VisualBasic/AutomaticCompletion/AutomaticLineEnderCommandHandler.vb
...c/AutomaticCompletion/AutomaticLineEnderCommandHandler.vb
+1
-1
src/EditorFeatures/VisualBasic/LineCommit/CommitCommandHandler.vb
...orFeatures/VisualBasic/LineCommit/CommitCommandHandler.vb
+1
-1
src/EditorFeatures/VisualBasic/TextStructureNavigation/TextStructureNavigatorProvider.vb
...TextStructureNavigation/TextStructureNavigatorProvider.vb
+1
-1
src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelServiceFactory.cs
...io/CSharp/Impl/CodeModel/CSharpCodeModelServiceFactory.cs
+1
-1
src/VisualStudio/CSharp/Impl/EventHookup/EventHookupSessionManager.cs
...udio/CSharp/Impl/EventHookup/EventHookupSessionManager.cs
+1
-1
src/VisualStudio/CSharp/Impl/ObjectBrowser/CSharpSyncClassViewCommandHandler.cs
...p/Impl/ObjectBrowser/CSharpSyncClassViewCommandHandler.cs
+1
-1
src/VisualStudio/Core/Def/HACK_ThemeColorFixer.cs
src/VisualStudio/Core/Def/HACK_ThemeColorFixer.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/Experimentation/EnhancedColorExperiment.cs
...Implementation/Experimentation/EnhancedColorExperiment.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/VirtualMemoryNotificationListener.cs
...e/Def/Implementation/VirtualMemoryNotificationListener.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioDocumentNavigationServiceFactory.cs
...Workspace/VisualStudioDocumentNavigationServiceFactory.cs
+1
-1
src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioSymbolNavigationServiceFactory.cs
...n/Workspace/VisualStudioSymbolNavigationServiceFactory.cs
+1
-1
src/VisualStudio/Core/Impl/RoslynVisualStudioWorkspace.cs
src/VisualStudio/Core/Impl/RoslynVisualStudioWorkspace.cs
+1
-1
src/VisualStudio/Core/SolutionExplorerShim/AnalyzerReferenceManager.cs
...dio/Core/SolutionExplorerShim/AnalyzerReferenceManager.cs
+1
-1
src/VisualStudio/Core/Test/Completion/TestCSharpSnippetInfoService.vb
...udio/Core/Test/Completion/TestCSharpSnippetInfoService.vb
+1
-1
src/VisualStudio/Core/Test/Completion/TestVisualBasicSnippetInfoService.vb
...Core/Test/Completion/TestVisualBasicSnippetInfoService.vb
+1
-1
src/VisualStudio/VisualBasic/Impl/CodeModel/VisualBasicCodeModelServiceFactory.vb
...asic/Impl/CodeModel/VisualBasicCodeModelServiceFactory.vb
+1
-1
src/VisualStudio/VisualBasic/Impl/ObjectBrowser/VisualBasicSyncClassViewCommandHandler.vb
...l/ObjectBrowser/VisualBasicSyncClassViewCommandHandler.vb
+1
-1
未找到文件。
src/EditorFeatures/CSharp/TextStructureNavigation/TextStructureNavigatorProvider.cs
浏览文件 @
9864f50f
...
...
@@ -17,7 +17,7 @@ namespace Microsoft.CodeAnalysis.Editor.CSharp.TextStructureNavigation
internal
class
TextStructureNavigatorProvider
:
AbstractTextStructureNavigatorProvider
{
[
ImportingConstructor
]
internal
TextStructureNavigatorProvider
(
public
TextStructureNavigatorProvider
(
ITextStructureNavigatorSelectorService
selectorService
,
IContentTypeRegistryService
contentTypeService
,
IWaitIndicator
waitIndicator
)
...
...
src/EditorFeatures/Core.Wpf/BraceMatching/ClassificationTypeFormatDefinitions.cs
浏览文件 @
9864f50f
...
...
@@ -17,7 +17,7 @@ internal sealed class ClassificationTypeFormatDefinitions
private
class
BraceMatchingFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
BraceMatchingFormatDefinition
()
p
ublic
BraceMatchingFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Brace_Matching
;
this
.
BackgroundColor
=
Color
.
FromRgb
(
0xDB
,
0xE0
,
0xCC
);
...
...
src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
浏览文件 @
9864f50f
...
...
@@ -24,7 +24,7 @@ internal sealed class ClassificationTypeFormatDefinitions
private
class
PreprocessorTextFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
PreprocessorTextFormatDefinition
()
p
ublic
PreprocessorTextFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Preprocessor_Text
;
this
.
ForegroundColor
=
Colors
.
Black
;
...
...
@@ -41,7 +41,7 @@ private PreprocessorTextFormatDefinition()
private
class
PunctuationFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
PunctuationFormatDefinition
()
p
ublic
PunctuationFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Punctuation
;
this
.
ForegroundColor
=
Colors
.
Black
;
...
...
@@ -59,7 +59,7 @@ private PunctuationFormatDefinition()
private
class
StringVerbatimFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
StringVerbatimFormatDefinition
()
p
ublic
StringVerbatimFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
String_Verbatim
;
this
.
ForegroundColor
=
Colors
.
Maroon
;
...
...
@@ -85,7 +85,7 @@ private StringVerbatimFormatDefinition()
private
class
StringEscapeCharacterFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
StringEscapeCharacterFormatDefinition
()
p
ublic
StringEscapeCharacterFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
String_Escape_Character
;
this
.
ForegroundColor
=
s_stringEscapeColor
;
...
...
@@ -105,7 +105,7 @@ private StringEscapeCharacterFormatDefinition()
private
class
ControlKeywordFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
ControlKeywordFormatDefinition
()
p
ublic
ControlKeywordFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Keyword_Control
;
}
...
...
@@ -123,7 +123,7 @@ private ControlKeywordFormatDefinition()
private
class
OperatorOverloadedFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
OperatorOverloadedFormatDefinition
()
p
ublic
OperatorOverloadedFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Operator_Overloaded
;
}
...
...
@@ -140,7 +140,7 @@ private OperatorOverloadedFormatDefinition()
private
class
SymbolStaticFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
SymbolStaticFormatDefinition
()
p
ublic
SymbolStaticFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Symbol_Static
;
// The static classification is intended to be an additive classification
...
...
@@ -179,7 +179,7 @@ private SymbolStaticFormatDefinition()
private
class
UserTypeClassesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeClassesFormatDefinition
()
p
ublic
UserTypeClassesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Classes
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -198,7 +198,7 @@ private UserTypeClassesFormatDefinition()
private
class
UserTypeDelegatesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeDelegatesFormatDefinition
()
p
ublic
UserTypeDelegatesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Delegates
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -217,7 +217,7 @@ private UserTypeDelegatesFormatDefinition()
private
class
UserTypeEnumsFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeEnumsFormatDefinition
()
p
ublic
UserTypeEnumsFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Enums
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -236,7 +236,7 @@ private UserTypeEnumsFormatDefinition()
private
class
UserTypeInterfacesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeInterfacesFormatDefinition
()
p
ublic
UserTypeInterfacesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Interfaces
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -254,7 +254,7 @@ private UserTypeInterfacesFormatDefinition()
private
class
UserTypeModulesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeModulesFormatDefinition
()
p
ublic
UserTypeModulesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Modules
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
43
,
145
,
175
);
...
...
@@ -273,7 +273,7 @@ private UserTypeModulesFormatDefinition()
private
class
UserTypeStructuresFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeStructuresFormatDefinition
()
p
ublic
UserTypeStructuresFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Structures
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -292,7 +292,7 @@ private UserTypeStructuresFormatDefinition()
private
class
UserTypeTypeParametersFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserTypeTypeParametersFormatDefinition
()
p
ublic
UserTypeTypeParametersFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Types_Type_Parameters
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x2B
,
0x91
,
0xAF
);
...
...
@@ -312,7 +312,7 @@ private UserTypeTypeParametersFormatDefinition()
private
class
UserMembersFieldNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersFieldNameFormatDefinition
()
p
ublic
UserMembersFieldNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Fields
;
}
...
...
@@ -330,7 +330,7 @@ private UserMembersFieldNameFormatDefinition()
private
class
UserMembersEnumMemberNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersEnumMemberNameFormatDefinition
()
p
ublic
UserMembersEnumMemberNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Enum_Members
;
}
...
...
@@ -348,7 +348,7 @@ private UserMembersEnumMemberNameFormatDefinition()
private
class
UserMembersConstantNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersConstantNameFormatDefinition
()
p
ublic
UserMembersConstantNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Constants
;
}
...
...
@@ -366,7 +366,7 @@ private UserMembersConstantNameFormatDefinition()
private
class
UserMembersLocalNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersLocalNameFormatDefinition
()
p
ublic
UserMembersLocalNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Locals
;
}
...
...
@@ -384,7 +384,7 @@ private UserMembersLocalNameFormatDefinition()
private
class
UserMembersParameterNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersParameterNameFormatDefinition
()
p
ublic
UserMembersParameterNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Parameters
;
}
...
...
@@ -402,7 +402,7 @@ private UserMembersParameterNameFormatDefinition()
private
class
UserMembersMethodNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersMethodNameFormatDefinition
()
p
ublic
UserMembersMethodNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Methods
;
}
...
...
@@ -420,7 +420,7 @@ private UserMembersMethodNameFormatDefinition()
private
class
UserMembersExtensionMethodNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersExtensionMethodNameFormatDefinition
()
p
ublic
UserMembersExtensionMethodNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Extension_Methods
;
}
...
...
@@ -438,7 +438,7 @@ private UserMembersExtensionMethodNameFormatDefinition()
private
class
UserMembersPropertyNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersPropertyNameFormatDefinition
()
p
ublic
UserMembersPropertyNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Properties
;
}
...
...
@@ -455,7 +455,7 @@ private UserMembersPropertyNameFormatDefinition()
private
class
UserMembersEventNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersEventNameFormatDefinition
()
p
ublic
UserMembersEventNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Events
;
}
...
...
@@ -472,7 +472,7 @@ private UserMembersEventNameFormatDefinition()
private
class
UserMembersNamespaceNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersNamespaceNameFormatDefinition
()
p
ublic
UserMembersNamespaceNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Namespaces
;
}
...
...
@@ -490,7 +490,7 @@ private UserMembersNamespaceNameFormatDefinition()
private
class
UserMembersLabelNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UserMembersLabelNameFormatDefinition
()
p
ublic
UserMembersLabelNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
User_Members_Labels
;
}
...
...
@@ -507,7 +507,7 @@ private UserMembersLabelNameFormatDefinition()
private
class
XmlDocCommentAttributeNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentAttributeNameFormatDefinition
()
p
ublic
XmlDocCommentAttributeNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Attribute_Name
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -524,7 +524,7 @@ private XmlDocCommentAttributeNameFormatDefinition()
private
class
XmlDocCommentAttributeQuotesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentAttributeQuotesFormatDefinition
()
p
ublic
XmlDocCommentAttributeQuotesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Attribute_Quotes
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -543,7 +543,7 @@ private XmlDocCommentAttributeQuotesFormatDefinition()
private
class
XmlDocCommentAttributeValueFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentAttributeValueFormatDefinition
()
p
ublic
XmlDocCommentAttributeValueFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Attribute_Value
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -560,7 +560,7 @@ private XmlDocCommentAttributeValueFormatDefinition()
private
class
XmlDocCommentCDataSectionFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentCDataSectionFormatDefinition
()
p
ublic
XmlDocCommentCDataSectionFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_CData_Section
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -577,7 +577,7 @@ private XmlDocCommentCDataSectionFormatDefinition()
private
class
XmlDocCommentCommentFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentCommentFormatDefinition
()
p
ublic
XmlDocCommentCommentFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Comment
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -594,7 +594,7 @@ private XmlDocCommentCommentFormatDefinition()
private
class
XmlDocCommentDelimiterFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentDelimiterFormatDefinition
()
p
ublic
XmlDocCommentDelimiterFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Delimiter
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -611,7 +611,7 @@ private XmlDocCommentDelimiterFormatDefinition()
private
class
XmlDocCommentEntityReferenceFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentEntityReferenceFormatDefinition
()
p
ublic
XmlDocCommentEntityReferenceFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Entity_Reference
;
this
.
ForegroundColor
=
Colors
.
Green
;
...
...
@@ -628,7 +628,7 @@ private XmlDocCommentEntityReferenceFormatDefinition()
private
class
XmlDocCommentNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentNameFormatDefinition
()
p
ublic
XmlDocCommentNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Name
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -645,7 +645,7 @@ private XmlDocCommentNameFormatDefinition()
private
class
XmlDocCommentProcessingInstructionFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentProcessingInstructionFormatDefinition
()
p
ublic
XmlDocCommentProcessingInstructionFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Processing_Instruction
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x80
,
0x80
,
0x80
);
// CIDARKGRAY
...
...
@@ -662,7 +662,7 @@ private XmlDocCommentProcessingInstructionFormatDefinition()
private
class
XmlDocCommentTextFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlDocCommentTextFormatDefinition
()
p
ublic
XmlDocCommentTextFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
XML_Doc_Comments_Text
;
this
.
ForegroundColor
=
Colors
.
Green
;
...
...
@@ -701,7 +701,7 @@ private XmlDocCommentTextFormatDefinition()
private
class
RegexCommentFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexCommentFormatDefinition
()
p
ublic
RegexCommentFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Comment
;
this
.
ForegroundColor
=
s_regexCommentColor
;
...
...
@@ -718,7 +718,7 @@ private RegexCommentFormatDefinition()
private
class
RegexCharacterClassFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexCharacterClassFormatDefinition
()
p
ublic
RegexCharacterClassFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Character_Class
;
this
.
ForegroundColor
=
s_characterClassColor
;
...
...
@@ -735,7 +735,7 @@ private RegexCharacterClassFormatDefinition()
private
class
RegexAnchorFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexAnchorFormatDefinition
()
p
ublic
RegexAnchorFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Anchor
;
this
.
ForegroundColor
=
s_regexAnchorAndQuantifierColor
;
...
...
@@ -752,7 +752,7 @@ private RegexAnchorFormatDefinition()
private
class
RegexQuantifierFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexQuantifierFormatDefinition
()
p
ublic
RegexQuantifierFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Quantifier
;
this
.
ForegroundColor
=
s_regexAnchorAndQuantifierColor
;
...
...
@@ -769,7 +769,7 @@ private RegexQuantifierFormatDefinition()
private
class
RegexGroupingFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexGroupingFormatDefinition
()
p
ublic
RegexGroupingFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Grouping
;
this
.
ForegroundColor
=
s_regexGroupingAndAlternationColor
;
...
...
@@ -786,7 +786,7 @@ private RegexGroupingFormatDefinition()
private
class
RegexAlternationFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexAlternationFormatDefinition
()
p
ublic
RegexAlternationFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Alternation
;
this
.
ForegroundColor
=
s_regexGroupingAndAlternationColor
;
...
...
@@ -803,7 +803,7 @@ private RegexAlternationFormatDefinition()
private
class
RegexTextFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexTextFormatDefinition
()
p
ublic
RegexTextFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_Text
;
this
.
ForegroundColor
=
s_regexTextColor
;
...
...
@@ -820,7 +820,7 @@ private RegexTextFormatDefinition()
private
class
RegexSelfEscapedCharacterFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexSelfEscapedCharacterFormatDefinition
()
p
ublic
RegexSelfEscapedCharacterFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_SelfEscapedCharacter
;
...
...
@@ -841,7 +841,7 @@ private RegexSelfEscapedCharacterFormatDefinition()
private
class
RegexOtherEscapeFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
RegexOtherEscapeFormatDefinition
()
p
ublic
RegexOtherEscapeFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesWpfResources
.
Regex_OtherEscape
;
this
.
ForegroundColor
=
s_regexOtherEscapeColor
;
...
...
@@ -858,7 +858,7 @@ private RegexOtherEscapeFormatDefinition()
private
class
XmlLiteralAttributeNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralAttributeNameFormatDefinition
()
p
ublic
XmlLiteralAttributeNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Attribute_Name
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
185
,
100
,
100
);
// HC_LIGHTRED
...
...
@@ -874,7 +874,7 @@ private XmlLiteralAttributeNameFormatDefinition()
private
class
XmlLiteralAttributeQuotesFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralAttributeQuotesFormatDefinition
()
p
ublic
XmlLiteralAttributeQuotesFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Attribute_Quotes
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
85
,
85
,
85
);
// HC_LIGHTBLACK
...
...
@@ -890,7 +890,7 @@ private XmlLiteralAttributeQuotesFormatDefinition()
private
class
XmlLiteralAttributeValueFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralAttributeValueFormatDefinition
()
p
ublic
XmlLiteralAttributeValueFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Attribute_Value
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
100
,
100
,
185
);
// HC_LIGHTBLUE
...
...
@@ -906,7 +906,7 @@ private XmlLiteralAttributeValueFormatDefinition()
private
class
XmlLiteralCDataSectionFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralCDataSectionFormatDefinition
()
p
ublic
XmlLiteralCDataSectionFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_CData_Section
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
192
,
192
,
192
);
// HC_LIGHTGRAY
...
...
@@ -922,7 +922,7 @@ private XmlLiteralCDataSectionFormatDefinition()
private
class
XmlLiteralCommentFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralCommentFormatDefinition
()
p
ublic
XmlLiteralCommentFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Comment
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
98
,
151
,
85
);
// HC_LIGHTGREEN
...
...
@@ -938,7 +938,7 @@ private XmlLiteralCommentFormatDefinition()
private
class
XmlLiteralDelimiterFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralDelimiterFormatDefinition
()
p
ublic
XmlLiteralDelimiterFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Delimiter
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
100
,
100
,
185
);
// HC_LIGHTBLUE
...
...
@@ -954,7 +954,7 @@ private XmlLiteralDelimiterFormatDefinition()
private
class
XmlLiteralEmbeddedExpressionFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralEmbeddedExpressionFormatDefinition
()
p
ublic
XmlLiteralEmbeddedExpressionFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Embedded_Expression
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
85
,
85
,
85
);
// HC_LIGHTBLACK
...
...
@@ -971,7 +971,7 @@ private XmlLiteralEmbeddedExpressionFormatDefinition()
private
class
XmlLiteralEntityReferenceFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralEntityReferenceFormatDefinition
()
p
ublic
XmlLiteralEntityReferenceFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Entity_Reference
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
185
,
100
,
100
);
// HC_LIGHTRED
...
...
@@ -987,7 +987,7 @@ private XmlLiteralEntityReferenceFormatDefinition()
private
class
XmlLiteralNameFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralNameFormatDefinition
()
p
ublic
XmlLiteralNameFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Name
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
132
,
70
,
70
);
// HC_LIGHTMAROON
...
...
@@ -1003,7 +1003,7 @@ private XmlLiteralNameFormatDefinition()
private
class
XmlLiteralProcessingInstructionFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralProcessingInstructionFormatDefinition
()
p
ublic
XmlLiteralProcessingInstructionFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Processing_Instruction
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
192
,
192
,
192
);
// HC_LIGHTGRAY
...
...
@@ -1019,7 +1019,7 @@ private XmlLiteralProcessingInstructionFormatDefinition()
private
class
XmlLiteralTextFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
XmlLiteralTextFormatDefinition
()
p
ublic
XmlLiteralTextFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
VB_XML_Literals_Text
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
85
,
85
,
85
);
// HC_LIGHTBLACK
...
...
src/EditorFeatures/Core.Wpf/Diagnostics/UnnecessaryCodeFormatDefinition.cs
浏览文件 @
9864f50f
...
...
@@ -20,7 +20,7 @@ namespace Microsoft.CodeAnalysis.Editor.Diagnostics
internal
sealed
class
UnnecessaryCodeFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
UnnecessaryCodeFormatDefinition
()
p
ublic
UnnecessaryCodeFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Unnecessary_Code
;
this
.
ForegroundOpacity
=
0.6
;
...
...
src/EditorFeatures/Core.Wpf/InlineRename/Taggers/ClassificationTypeDefinitions.cs
浏览文件 @
9864f50f
...
...
@@ -26,7 +26,7 @@ internal sealed class ClassificationTypeDefinitions
private
class
InlineRenameFieldFormatDefinition
:
ClassificationFormatDefinition
{
[
ImportingConstructor
]
p
rivate
InlineRenameFieldFormatDefinition
()
p
ublic
InlineRenameFieldFormatDefinition
()
{
this
.
DisplayName
=
EditorFeaturesResources
.
Inline_Rename_Field_Text
;
this
.
ForegroundColor
=
Color
.
FromRgb
(
0x00
,
0x64
,
0x00
);
...
...
src/EditorFeatures/Core.Wpf/Interactive/InteractiveDocumentNavigationServiceFactory.cs
浏览文件 @
9864f50f
...
...
@@ -13,7 +13,7 @@ internal sealed class InteractiveDocumentNavigationServiceFactory : IWorkspaceSe
private
readonly
IDocumentNavigationService
_singleton
;
[
ImportingConstructor
]
p
rivate
InteractiveDocumentNavigationServiceFactory
()
p
ublic
InteractiveDocumentNavigationServiceFactory
()
{
_singleton
=
new
InteractiveDocumentNavigationService
();
}
...
...
src/EditorFeatures/Core/FindReferences/FindReferencesCommandHandler.cs
浏览文件 @
9864f50f
...
...
@@ -37,7 +37,7 @@ internal class FindReferencesCommandHandler : VSCommanding.ICommandHandler<FindR
public
string
DisplayName
=>
EditorFeaturesResources
.
Find_References
;
[
ImportingConstructor
]
internal
FindReferencesCommandHandler
(
public
FindReferencesCommandHandler
(
[
ImportMany
]
IEnumerable
<
Lazy
<
IStreamingFindUsagesPresenter
>>
streamingPresenters
,
IAsynchronousOperationListenerProvider
listenerProvider
)
{
...
...
src/EditorFeatures/Core/Implementation/CommentSelection/CommentUncommentSelectionCommandHandler.cs
浏览文件 @
9864f50f
...
...
@@ -34,7 +34,7 @@ internal class CommentUncommentSelectionCommandHandler :
private
readonly
IEditorOperationsFactoryService
_editorOperationsFactoryService
;
[
ImportingConstructor
]
internal
CommentUncommentSelectionCommandHandler
(
public
CommentUncommentSelectionCommandHandler
(
ITextUndoHistoryRegistry
undoHistoryRegistry
,
IEditorOperationsFactoryService
editorOperationsFactoryService
)
{
...
...
src/EditorFeatures/Core/Implementation/EditAndContinue/ActiveStatementTrackingService.cs
浏览文件 @
9864f50f
...
...
@@ -31,7 +31,7 @@ internal sealed class ActiveStatementTrackingService : IActiveStatementTrackingS
private
TrackingSession
_sessionOpt
;
[
ImportingConstructor
]
internal
ActiveStatementTrackingService
()
public
ActiveStatementTrackingService
()
{
}
...
...
src/EditorFeatures/Core/Implementation/Peek/PeekableItemFactory.cs
浏览文件 @
9864f50f
...
...
@@ -21,7 +21,7 @@ internal class PeekableItemFactory : IPeekableItemFactory
private
readonly
IMetadataAsSourceFileService
_metadataAsSourceFileService
;
[
ImportingConstructor
]
p
rivate
PeekableItemFactory
(
IMetadataAsSourceFileService
metadataAsSourceFileService
)
p
ublic
PeekableItemFactory
(
IMetadataAsSourceFileService
metadataAsSourceFileService
)
{
_metadataAsSourceFileService
=
metadataAsSourceFileService
;
}
...
...
src/EditorFeatures/Core/Shared/Utilities/ClassificationTypeMap.cs
浏览文件 @
9864f50f
...
...
@@ -19,7 +19,7 @@ internal class ClassificationTypeMap
[
ImportingConstructor
]
[
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
error
:
true
)]
internal
ClassificationTypeMap
(
public
ClassificationTypeMap
(
IClassificationTypeRegistryService
registryService
)
{
_registryService
=
registryService
;
...
...
src/EditorFeatures/VisualBasic/AutomaticCompletion/AutomaticLineEnderCommandHandler.vb
浏览文件 @
9864f50f
...
...
@@ -23,7 +23,7 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.AutomaticCompletion
Inherits
AbstractAutomaticLineEnderCommandHandler
<
ImportingConstructor
>
Friend
Sub
New
(
undoRegistry
As
ITextUndoHistoryRegistry
,
Public
Sub
New
(
undoRegistry
As
ITextUndoHistoryRegistry
,
editorOperations
As
IEditorOperationsFactoryService
)
MyBase
.
New
(
undoRegistry
,
editorOperations
)
...
...
src/EditorFeatures/VisualBasic/LineCommit/CommitCommandHandler.vb
浏览文件 @
9864f50f
...
...
@@ -48,7 +48,7 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.LineCommit
End
Property
<
ImportingConstructor
()
>
Friend
Sub
New
(
Public
Sub
New
(
bufferManagerFactory
As
CommitBufferManagerFactory
,
editorOperationsFactoryService
As
IEditorOperationsFactoryService
,
smartIndentationService
As
ISmartIndentationService
,
...
...
src/EditorFeatures/VisualBasic/TextStructureNavigation/TextStructureNavigatorProvider.vb
浏览文件 @
9864f50f
...
...
@@ -15,7 +15,7 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.TextStructureNavigation
Inherits
AbstractTextStructureNavigatorProvider
<
ImportingConstructor
()
>
Friend
Sub
New
(
Public
Sub
New
(
selectorService
As
ITextStructureNavigatorSelectorService
,
contentTypeService
As
IContentTypeRegistryService
,
waitIndicator
As
IWaitIndicator
)
...
...
src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelServiceFactory.cs
浏览文件 @
9864f50f
...
...
@@ -18,7 +18,7 @@ internal partial class CSharpCodeModelServiceFactory : ILanguageServiceFactory
private
readonly
IEnumerable
<
IRefactorNotifyService
>
_refactorNotifyServices
;
[
ImportingConstructor
]
p
rivate
CSharpCodeModelServiceFactory
(
p
ublic
CSharpCodeModelServiceFactory
(
IEditorOptionsFactoryService
editorOptionsFactoryService
,
[
ImportMany
]
IEnumerable
<
IRefactorNotifyService
>
refactorNotifyServices
)
{
...
...
src/VisualStudio/CSharp/Impl/EventHookup/EventHookupSessionManager.cs
浏览文件 @
9864f50f
...
...
@@ -28,7 +28,7 @@ internal sealed partial class EventHookupSessionManager : ForegroundThreadAffini
[
ImportingConstructor
]
[
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
error
:
true
)]
internal
EventHookupSessionManager
(
IThreadingContext
threadingContext
,
IToolTipService
toolTipService
)
public
EventHookupSessionManager
(
IThreadingContext
threadingContext
,
IToolTipService
toolTipService
)
:
base
(
threadingContext
)
{
_toolTipService
=
toolTipService
;
...
...
src/VisualStudio/CSharp/Impl/ObjectBrowser/CSharpSyncClassViewCommandHandler.cs
浏览文件 @
9864f50f
...
...
@@ -18,7 +18,7 @@ internal class CSharpSyncClassViewCommandHandler : AbstractSyncClassViewCommandH
{
[
ImportingConstructor
]
[
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
error
:
true
)]
p
rivate
CSharpSyncClassViewCommandHandler
(
IThreadingContext
threadingContext
,
SVsServiceProvider
serviceProvider
)
p
ublic
CSharpSyncClassViewCommandHandler
(
IThreadingContext
threadingContext
,
SVsServiceProvider
serviceProvider
)
:
base
(
threadingContext
,
serviceProvider
)
{
}
...
...
src/VisualStudio/Core/Def/HACK_ThemeColorFixer.cs
浏览文件 @
9864f50f
...
...
@@ -32,7 +32,7 @@ internal sealed class HACK_ThemeColorFixer : IWpfTextViewConnectionListener
private
bool
_done
;
[
ImportingConstructor
]
p
rivate
HACK_ThemeColorFixer
(
p
ublic
HACK_ThemeColorFixer
(
IClassificationTypeRegistryService
classificationTypeRegistryService
,
IClassificationFormatMapService
classificationFormatMapService
)
{
...
...
src/VisualStudio/Core/Def/Implementation/Experimentation/EnhancedColorExperiment.cs
浏览文件 @
9864f50f
...
...
@@ -40,7 +40,7 @@ internal class EnhancedColorExperiment : ForegroundThreadAffinitizedObject, IWpf
[
ImportingConstructor
]
[
Obsolete
]
p
rivate
EnhancedColorExperiment
(
IThreadingContext
threadingContext
,
[
Import
(
typeof
(
SVsServiceProvider
))]
IServiceProvider
serviceProvider
)
p
ublic
EnhancedColorExperiment
(
IThreadingContext
threadingContext
,
[
Import
(
typeof
(
SVsServiceProvider
))]
IServiceProvider
serviceProvider
)
:
base
(
threadingContext
)
{
_serviceProvider
=
serviceProvider
;
...
...
src/VisualStudio/Core/Def/Implementation/VirtualMemoryNotificationListener.cs
浏览文件 @
9864f50f
...
...
@@ -39,7 +39,7 @@ internal sealed class VirtualMemoryNotificationListener : ForegroundThreadAffini
[
ImportingConstructor
]
[
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
error
:
true
)]
p
rivate
VirtualMemoryNotificationListener
(
p
ublic
VirtualMemoryNotificationListener
(
IThreadingContext
threadingContext
,
SVsServiceProvider
serviceProvider
,
VisualStudioWorkspace
workspace
)
...
...
src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioDocumentNavigationServiceFactory.cs
浏览文件 @
9864f50f
...
...
@@ -18,7 +18,7 @@ internal sealed class VisualStudioDocumentNavigationServiceFactory : IWorkspaceS
[
ImportingConstructor
]
[
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
error
:
true
)]
p
rivate
VisualStudioDocumentNavigationServiceFactory
(
p
ublic
VisualStudioDocumentNavigationServiceFactory
(
IThreadingContext
threadingContext
,
SVsServiceProvider
serviceProvider
,
IVsEditorAdaptersFactoryService
editorAdaptersFactoryService
)
...
...
src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioSymbolNavigationServiceFactory.cs
浏览文件 @
9864f50f
...
...
@@ -15,7 +15,7 @@ internal class VisualStudioSymbolNavigationServiceFactory : IWorkspaceServiceFac
private
readonly
ISymbolNavigationService
_singleton
;
[
ImportingConstructor
]
p
rivate
VisualStudioSymbolNavigationServiceFactory
(
p
ublic
VisualStudioSymbolNavigationServiceFactory
(
SVsServiceProvider
serviceProvider
,
[
Import
]
VisualStudio14StructureTaggerProvider
outliningTaggerProvider
)
{
...
...
src/VisualStudio/Core/Impl/RoslynVisualStudioWorkspace.cs
浏览文件 @
9864f50f
...
...
@@ -31,7 +31,7 @@ internal class RoslynVisualStudioWorkspace : VisualStudioWorkspaceImpl
private
readonly
IEnumerable
<
Lazy
<
IStreamingFindUsagesPresenter
>>
_streamingPresenters
;
[
ImportingConstructor
]
p
rivate
RoslynVisualStudioWorkspace
(
p
ublic
RoslynVisualStudioWorkspace
(
ExportProvider
exportProvider
,
[
ImportMany
]
IEnumerable
<
Lazy
<
IStreamingFindUsagesPresenter
>>
streamingPresenters
,
[
ImportMany
]
IEnumerable
<
IDocumentOptionsProviderFactory
>
documentOptionsProviderFactories
,
...
...
src/VisualStudio/Core/SolutionExplorerShim/AnalyzerReferenceManager.cs
浏览文件 @
9864f50f
...
...
@@ -25,7 +25,7 @@ internal class AnalyzerReferenceManager : IVsReferenceManagerUser
private
AnalyzerItemsTracker
_tracker
=
null
;
[
ImportingConstructor
]
internal
AnalyzerReferenceManager
(
public
AnalyzerReferenceManager
(
[
Import
(
typeof
(
SVsServiceProvider
))]
IServiceProvider
serviceProvider
)
{
_serviceProvider
=
serviceProvider
;
...
...
src/VisualStudio/Core/Test/Completion/TestCSharpSnippetInfoService.vb
浏览文件 @
9864f50f
...
...
@@ -16,7 +16,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.Completion
<
ImportingConstructor
>
<
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
True
)
>
Friend
Sub
New
(
threadingContext
As
IThreadingContext
,
listenerProvider
As
IAsynchronousOperationListenerProvider
)
Public
Sub
New
(
threadingContext
As
IThreadingContext
,
listenerProvider
As
IAsynchronousOperationListenerProvider
)
MyBase
.
New
(
threadingContext
,
Nothing
,
listenerProvider
)
End
Sub
...
...
src/VisualStudio/Core/Test/Completion/TestVisualBasicSnippetInfoService.vb
浏览文件 @
9864f50f
...
...
@@ -16,7 +16,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.Completion
<
ImportingConstructor
>
<
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
True
)
>
Friend
Sub
New
(
threadingContext
As
IThreadingContext
,
listenerProvider
As
IAsynchronousOperationListenerProvider
)
Public
Sub
New
(
threadingContext
As
IThreadingContext
,
listenerProvider
As
IAsynchronousOperationListenerProvider
)
MyBase
.
New
(
threadingContext
,
Nothing
,
listenerProvider
)
End
Sub
...
...
src/VisualStudio/VisualBasic/Impl/CodeModel/VisualBasicCodeModelServiceFactory.vb
浏览文件 @
9864f50f
...
...
@@ -19,7 +19,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel
Private
ReadOnly
_commitBufferManagerFactory
As
CommitBufferManagerFactory
<
ImportingConstructor
>
P
rivate
Sub
New
(
editorOptionsFactoryService
As
IEditorOptionsFactoryService
,
P
ublic
Sub
New
(
editorOptionsFactoryService
As
IEditorOptionsFactoryService
,
<
ImportMany
>
refactorNotifyServices
As
IEnumerable
(
Of
IRefactorNotifyService
),
commitBufferManagerFactory
As
CommitBufferManagerFactory
)
Me
.
_editorOptionsFactoryService
=
editorOptionsFactoryService
...
...
src/VisualStudio/VisualBasic/Impl/ObjectBrowser/VisualBasicSyncClassViewCommandHandler.vb
浏览文件 @
9864f50f
...
...
@@ -17,7 +17,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.ObjectBrowser
<
ImportingConstructor
>
<
Obsolete
(
MefConstruction
.
ImportingConstructorMessage
,
True
)
>
P
rivate
Sub
New
(
threadingContext
As
IThreadingContext
,
serviceProvider
As
SVsServiceProvider
)
P
ublic
Sub
New
(
threadingContext
As
IThreadingContext
,
serviceProvider
As
SVsServiceProvider
)
MyBase
.
New
(
threadingContext
,
serviceProvider
)
End
Sub
End
Class
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录