Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
7d8a6922
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,发现更多精彩内容 >>
提交
7d8a6922
编写于
3月 30, 2020
作者:
D
David Poeschl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Merge cleanup
上级
2ad5c70c
变更
20
显示空白变更内容
内联
并排
Showing
20 changed file
with
16 addition
and
209 deletion
+16
-209
src/Features/CSharp/Portable/ChangeSignature/CSharpChangeSignatureService.cs
.../Portable/ChangeSignature/CSharpChangeSignatureService.cs
+4
-3
src/Features/Core/Portable/ChangeSignature/AbstractChangeSignatureService.cs
...ortable/ChangeSignature/AbstractChangeSignatureService.cs
+3
-3
src/Features/Core/Portable/ChangeSignature/ChangeSignatureCodeAction.cs
...ore/Portable/ChangeSignature/ChangeSignatureCodeAction.cs
+1
-1
src/Features/VisualBasic/Portable/ChangeSignature/VisualBasicChangeSignatureService.vb
...able/ChangeSignature/VisualBasicChangeSignatureService.vb
+3
-2
src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf
+1
-16
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf
src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf
...VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf
+0
-15
src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf
...VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf
+0
-15
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Services/SyntaxFacts/CSharpSyntaxFacts.cs
...Compiler/CSharp/Services/SyntaxFacts/CSharpSyntaxFacts.cs
+1
-1
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Services/SyntaxFacts/ISyntaxFacts.cs
...nsions/Compiler/Core/Services/SyntaxFacts/ISyntaxFacts.cs
+1
-1
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/Services/SyntaxFacts/VisualBasicSyntaxFacts.vb
...isualBasic/Services/SyntaxFacts/VisualBasicSyntaxFacts.vb
+2
-2
未找到文件。
src/Features/CSharp/Portable/ChangeSignature/CSharpChangeSignatureService.cs
浏览文件 @
7d8a6922
...
...
@@ -14,6 +14,7 @@
using
Microsoft.CodeAnalysis.ChangeSignature
;
using
Microsoft.CodeAnalysis.CSharp.CodeGeneration
;
using
Microsoft.CodeAnalysis.CSharp.Extensions
;
using
Microsoft.CodeAnalysis.CSharp.LanguageServices
;
using
Microsoft.CodeAnalysis.CSharp.Syntax
;
using
Microsoft.CodeAnalysis.Editing
;
using
Microsoft.CodeAnalysis.FindSymbols
;
...
...
@@ -32,7 +33,7 @@ namespace Microsoft.CodeAnalysis.CSharp.ChangeSignature
internal
sealed
class
CSharpChangeSignatureService
:
AbstractChangeSignatureService
{
protected
override
SyntaxGenerator
Generator
=>
CSharpSyntaxGenerator
.
Instance
;
protected
override
ISyntaxFacts
Service
SyntaxFacts
=>
CSharpSyntaxFactsService
.
Instance
;
protected
override
ISyntaxFacts
SyntaxFacts
=>
CSharpSyntaxFacts
.
Instance
;
private
static
readonly
ImmutableArray
<
SyntaxKind
>
_declarationKinds
=
ImmutableArray
.
Create
(
SyntaxKind
.
MethodDeclaration
,
...
...
@@ -453,13 +454,13 @@ private static ParameterSyntax CreateNewParameterSyntax(AddedParameter addedPara
{
var
equalsValueClause
=
addedParameter
.
HasDefaultValue
?
EqualsValueClause
(
ParseExpression
(
addedParameter
.
DefaultValue
))
:
default
;
:
null
;
return
Parameter
(
attributeLists
:
default
,
modifiers
:
default
,
type
:
skipParameterType
?
default
?
null
:
addedParameter
.
Type
.
GenerateTypeSyntax
()
.
WithTrailingTrivia
(
ElasticSpace
),
Identifier
(
addedParameter
.
Name
),
...
...
src/Features/Core/Portable/ChangeSignature/AbstractChangeSignatureService.cs
浏览文件 @
7d8a6922
...
...
@@ -520,7 +520,7 @@ private bool TryGetNodeWithEditableSignatureOrAttributes(Location location, Solu
}
// 5. Add the params argument with the first value:
if
(
paramsArrayArgument
!=
default
)
if
(
paramsArrayArgument
!=
null
)
{
var
param
=
argumentToParameterMap
[
paramsArrayArgument
];
if
(
seenNamedArgument
&&
!
paramsArrayArgument
.
IsNamed
)
...
...
@@ -716,7 +716,7 @@ protected static int GetParameterIndex<TNode>(SeparatedSyntaxList<TNode> paramet
}
protected
abstract
SyntaxGenerator
Generator
{
get
;
}
protected
abstract
ISyntaxFacts
Service
SyntaxFacts
{
get
;
}
protected
abstract
ISyntaxFacts
SyntaxFacts
{
get
;
}
protected
SeparatedSyntaxList
<
SyntaxNode
>
AddNewArgumentsToList
(
ISymbol
declarationSymbol
,
...
...
@@ -753,7 +753,7 @@ protected static int GetParameterIndex<TNode>(SeparatedSyntaxList<TNode> paramet
fullList
.
Add
(
Generator
.
Argument
(
name
:
seenNamedArguments
||
addedParameter
.
UseNamedArguments
?
addedParameter
.
Name
:
default
,
name
:
seenNamedArguments
||
addedParameter
.
UseNamedArguments
?
addedParameter
.
Name
:
null
,
refKind
:
RefKind
.
None
,
expression
:
Generator
.
ParseExpression
(
addedParameter
.
IsCallsiteError
?
"TODO"
:
addedParameter
.
CallSiteValue
)));
separators
.
Add
(
CommaTokenWithElasticSpace
());
...
...
src/Features/Core/Portable/ChangeSignature/ChangeSignatureCodeAction.cs
浏览文件 @
7d8a6922
...
...
@@ -25,7 +25,7 @@ public ChangeSignatureCodeAction(AbstractChangeSignatureService changeSignatureS
public
override
string
Title
=>
FeaturesResources
.
Change_signature
;
public
override
object
?
GetOptions
(
CancellationToken
cancellationToken
)
public
override
object
GetOptions
(
CancellationToken
cancellationToken
)
{
return
_changeSignatureService
.
GetChangeSignatureOptions
(
_context
)
??
new
ChangeSignatureOptionsResult
(
null
!,
false
);
...
...
src/Features/VisualBasic/Portable/ChangeSignature/VisualBasicChangeSignatureService.vb
浏览文件 @
7d8a6922
...
...
@@ -16,6 +16,7 @@ Imports Microsoft.CodeAnalysis.LanguageServices
Imports
Microsoft.CodeAnalysis.PooledObjects
Imports
Microsoft.CodeAnalysis.Simplification
Imports
Microsoft.CodeAnalysis.VisualBasic.CodeGeneration
Imports
Microsoft.CodeAnalysis.VisualBasic.LanguageServices
Imports
Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports
Microsoft.CodeAnalysis.VisualBasic.SyntaxFactory
...
...
@@ -624,9 +625,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ChangeSignature
End
Get
End
Property
Protected
Overrides
ReadOnly
Property
SyntaxFacts
As
ISyntaxFacts
Service
Protected
Overrides
ReadOnly
Property
SyntaxFacts
As
ISyntaxFacts
Get
Return
VisualBasicSyntaxFacts
Service
.
Instance
Return
VisualBasicSyntaxFacts
.
Instance
End
Get
End
Property
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Klasifikace
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Dokončila se analýza kódu pro {0}.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Klassifizierungen
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Die Codeanalyse für "{0}" wurde abgeschlossen.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Clasificaciones
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
El análisis de código se ha completado para "{0}".
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Classifications
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Analyse du code effectuée pour '{0}'.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Classificazioni
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Analisi codice completata per '{0}'.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
分類
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
'{0}' のコード分析が完了しました。
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
분류
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
'{0}'에 대한 코드 분석이 완료되었습니다.
</target>
...
...
@@ -719,9 +704,9 @@
</trans-unit>
<trans-unit
id=
"Value_to_inject_at_call_sites_colon"
>
<source>
Value to inject at call sites:
</source>
<target
state=
"new"
>
Value to inject at call sites:
</target>
<note
/>
</trans-unit>
<target
state=
"new"
>
Value to inject at call sites:
</target>
<trans-unit
id=
"Visual_Studio_2017"
>
<source>
Visual Studio 2017
</source>
<target
state=
"new"
>
Visual Studio 2017
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Klasyfikacje
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Ukończono analizę kodu dla elementu „{0}”.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Classificações
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Análise de código concluída para '{0}'.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Классификации
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
Анализ кода для "{0}" выполнен.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
Sınıflandırmalar
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
'{0}' için kod analizi tamamlandı.
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
分类
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
“{0}”的代码分析已完成。
</target>
...
...
src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf
浏览文件 @
7d8a6922
...
...
@@ -112,21 +112,6 @@
<target
state=
"new"
>
Call site
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Classifications"
>
<source>
Classifications
</source>
<target
state=
"translated"
>
分類
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIndicator"
>
<source>
<
new
>
</source>
<target
state=
"new"
>
<
new
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"ChangeSignature_NewParameterIntroduceTODOVariable"
>
<source>
TODO
</source>
<target
state=
"new"
>
TODO
</target>
<note>
"TODO" is an indication that there is work to be done still
</note>
</trans-unit>
<trans-unit
id=
"Code_analysis_completed_for_0"
>
<source>
Code analysis completed for '{0}'.
</source>
<target
state=
"translated"
>
'{0}' 的程式碼分析已完成。
</target>
...
...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Services/SyntaxFacts/CSharpSyntaxFacts.cs
浏览文件 @
7d8a6922
...
...
@@ -1713,7 +1713,7 @@ public void GetPartsOfCastExpression(SyntaxNode node, out SyntaxNode type, out S
}
public
override
SyntaxList
<
SyntaxNode
>
GetAttributeLists
(
SyntaxNode
node
)
=>
CSharpSyntaxGenerator
.
GetAttributeLists
(
node
);
=>
node
.
GetAttributeLists
(
);
public
override
bool
IsParameterNameXmlElementSyntax
(
SyntaxNode
node
)
=>
node
.
IsKind
(
SyntaxKind
.
XmlElement
)
&&
...
...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Services/SyntaxFacts/ISyntaxFacts.cs
浏览文件 @
7d8a6922
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/Services/SyntaxFacts/VisualBasicSyntaxFacts.vb
浏览文件 @
7d8a6922
...
...
@@ -1896,7 +1896,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
Return
False
End
Function
Public
Overrides
Function
IsParameterNameXmlElementSyntax
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFacts
Service
.
IsParameterNameXmlElementSyntax
Public
Overrides
Function
IsParameterNameXmlElementSyntax
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFacts
.
IsParameterNameXmlElementSyntax
Dim
xmlElement
=
TryCast
(
node
,
XmlElementSyntax
)
If
xmlElement
IsNot
Nothing
Then
...
...
@@ -1906,7 +1906,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
Return
False
End
Function
Public
Overrides
Function
GetContentFromDocumentationCommentTriviaSyntax
(
trivia
As
SyntaxTrivia
)
As
SyntaxNode
()
Implements
ISyntaxFacts
Service
.
GetContentFromDocumentationCommentTriviaSyntax
Public
Overrides
Function
GetContentFromDocumentationCommentTriviaSyntax
(
trivia
As
SyntaxTrivia
)
As
SyntaxNode
()
Implements
ISyntaxFacts
.
GetContentFromDocumentationCommentTriviaSyntax
Dim
documentationCommentTrivia
=
TryCast
(
trivia
.
GetStructure
(),
DocumentationCommentTriviaSyntax
)
If
documentationCommentTrivia
IsNot
Nothing
Then
Return
documentationCommentTrivia
.
Content
.
ToArray
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录