Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
d8e8df8d
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,发现更多精彩内容 >>
未验证
提交
d8e8df8d
编写于
4月 13, 2020
作者:
M
Manish Vasani
提交者:
GitHub
4月 13, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #43178 from mavasani/PortNewAnalyzer
Port CSharpUseLocalFunction analyzer/tests to shared layer
上级
a6424ee7
2d380b07
变更
34
隐藏空白更改
内联
并排
Showing
34 changed file
with
78 addition
and
72 deletion
+78
-72
src/Analyzers/CSharp/Analyzers/CSharpAnalyzers.projitems
src/Analyzers/CSharp/Analyzers/CSharpAnalyzers.projitems
+1
-0
src/Analyzers/CSharp/Analyzers/CSharpAnalyzersResources.resx
src/Analyzers/CSharp/Analyzers/CSharpAnalyzersResources.resx
+3
-0
src/Analyzers/CSharp/Analyzers/UseLocalFunction/CSharpUseLocalFunctionDiagnosticAnalyzer.cs
...LocalFunction/CSharpUseLocalFunctionDiagnosticAnalyzer.cs
+1
-1
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf
...s/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf
...zers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf
...CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf
+5
-0
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf
...CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf
+5
-0
src/Analyzers/CSharp/Tests/CSharpAnalyzers.UnitTests.projitems
...nalyzers/CSharp/Tests/CSharpAnalyzers.UnitTests.projitems
+1
-0
src/Analyzers/CSharp/Tests/UseLocalFunction/UseLocalFunctionTests.cs
...rs/CSharp/Tests/UseLocalFunction/UseLocalFunctionTests.cs
+1
-1
src/EditorFeatures/DiagnosticsTestUtilities/Diagnostics/AbstractDiagnosticProviderBasedUserDiagnosticTest.cs
...tics/AbstractDiagnosticProviderBasedUserDiagnosticTest.cs
+4
-0
src/Features/CSharp/Portable/UseLocalFunction/CSharpUseLocalFunctionCodeFixProvider.cs
...UseLocalFunction/CSharpUseLocalFunctionCodeFixProvider.cs
+2
-2
src/Features/Core/Portable/FeaturesResources.resx
src/Features/Core/Portable/FeaturesResources.resx
+0
-3
src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf
src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.de.xlf
src/Features/Core/Portable/xlf/FeaturesResources.de.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.es.xlf
src/Features/Core/Portable/xlf/FeaturesResources.es.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf
src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.it.xlf
src/Features/Core/Portable/xlf/FeaturesResources.it.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf
src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf
src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf
src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf
src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf
src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf
src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf
+0
-5
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf
+0
-5
未找到文件。
src/Analyzers/CSharp/Analyzers/CSharpAnalyzers.projitems
浏览文件 @
d8e8df8d
...
...
@@ -80,6 +80,7 @@
<Compile
Include=
"$(MSBuildThisFileDirectory)UseInferredMemberName\CSharpUseInferredMemberNameDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseIsNullCheck\CSharpUseIsNullCheckForReferenceEqualsDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseNullPropagation\CSharpUseNullPropagationDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseObjectInitializer\CSharpUseObjectInitializerDiagnosticAnalyzer.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs"
/>
...
...
src/Analyzers/CSharp/Analyzers/CSharpAnalyzersResources.resx
浏览文件 @
d8e8df8d
...
...
@@ -256,6 +256,9 @@
<data
name=
"Indexing_can_be_simplified"
xml:space=
"preserve"
>
<value>
Indexing can be simplified
</value>
</data>
<data
name=
"Use_local_function"
xml:space=
"preserve"
>
<value>
Use local function
</value>
</data>
<data
name=
"Use_index_operator"
xml:space=
"preserve"
>
<value>
Use index operator
</value>
</data>
...
...
src/
Features/CSharp/Portable
/UseLocalFunction/CSharpUseLocalFunctionDiagnosticAnalyzer.cs
→
src/
Analyzers/CSharp/Analyzers
/UseLocalFunction/CSharpUseLocalFunctionDiagnosticAnalyzer.cs
浏览文件 @
d8e8df8d
...
...
@@ -45,7 +45,7 @@ public CSharpUseLocalFunctionDiagnosticAnalyzer()
CSharpCodeStyleOptions
.
PreferLocalOverAnonymousFunction
,
LanguageNames
.
CSharp
,
new
LocalizableResourceString
(
nameof
(
FeaturesResources
.
Use_local_function
),
FeaturesResources
.
ResourceManager
,
typeof
(
Feature
sResources
)))
nameof
(
CSharpAnalyzersResources
.
Use_local_function
),
CSharpAnalyzersResources
.
ResourceManager
,
typeof
(
CSharpAnalyzer
sResources
)))
{
}
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.cs.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.de.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.es.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.fr.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.it.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ko.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pl.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.pt-BR.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ru.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.tr.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hans.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.zh-Hant.xlf
浏览文件 @
d8e8df8d
...
...
@@ -172,6 +172,11 @@
<target
state=
"new"
>
Use 'is null' check
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"new"
>
Use local function
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_pattern_matching"
>
<source>
Use pattern matching
</source>
<target
state=
"new"
>
Use pattern matching
</target>
...
...
src/Analyzers/CSharp/Tests/CSharpAnalyzers.UnitTests.projitems
浏览文件 @
d8e8df8d
...
...
@@ -75,6 +75,7 @@
<Compile
Include=
"$(MSBuildThisFileDirectory)UseIsNullCheck\UseIsNullCheckForCastAndEqualityOperatorTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseIsNullCheck\UseIsNullCheckForReferenceEqualsTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseExplicitTupleName\UseExplicitTupleNameTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseLocalFunction\UseLocalFunctionTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseNullPropagation\UseNullPropagationTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UseObjectInitializer\UseObjectInitializerTests.cs"
/>
<Compile
Include=
"$(MSBuildThisFileDirectory)UsePatternMatching\CSharpAsAndNullCheckTests.cs"
/>
...
...
src/
EditorFeatures/CSharpTest
/UseLocalFunction/UseLocalFunctionTests.cs
→
src/
Analyzers/CSharp/Tests
/UseLocalFunction/UseLocalFunctionTests.cs
浏览文件 @
d8e8df8d
...
...
@@ -17,7 +17,7 @@ namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.UseLocalFunction
public
partial
class
UseLocalFunctionTests
:
AbstractCSharpDiagnosticProviderBasedUserDiagnosticTest
{
internal
override
(
DiagnosticAnalyzer
,
CodeFixProvider
)
CreateDiagnosticProviderAndFixer
(
Workspace
workspace
)
=>
(
new
CSharpUseLocalFunctionDiagnosticAnalyzer
(),
new
CSharpUseLocalFunctionCodeFixProvider
());
=>
(
new
CSharpUseLocalFunctionDiagnosticAnalyzer
(),
Get
CSharpUseLocalFunctionCodeFixProvider
());
private
static
readonly
ParseOptions
CSharp72ParseOptions
=
CSharpParseOptions
.
Default
.
WithLanguageVersion
(
LanguageVersion
.
CSharp7_2
);
...
...
src/EditorFeatures/DiagnosticsTestUtilities/Diagnostics/AbstractDiagnosticProviderBasedUserDiagnosticTest.cs
浏览文件 @
d8e8df8d
...
...
@@ -11,6 +11,7 @@
using
Microsoft.CodeAnalysis.CodeFixes
;
using
Microsoft.CodeAnalysis.CSharp.MakeLocalFunctionStatic
;
using
Microsoft.CodeAnalysis.CSharp.UseAutoProperty
;
using
Microsoft.CodeAnalysis.CSharp.UseLocalFunction
;
using
Microsoft.CodeAnalysis.Diagnostics
;
using
Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions
;
using
Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
;
...
...
@@ -240,6 +241,9 @@ private void AssertNoAnalyzerExceptionDiagnostics(IEnumerable<Diagnostic> diagno
// https://github.com/dotnet/roslyn/issues/43056 blocks porting the fixer to CodeStyle layer.
protected
static
CodeFixProvider
GetMakeLocalFunctionStaticCodeFixProvider
()
=>
new
MakeLocalFunctionStaticCodeFixProvider
();
// https://github.com/dotnet/roslyn/issues/43056 blocks porting the fixer to CodeStyle layer.
protected
static
CodeFixProvider
GetCSharpUseLocalFunctionCodeFixProvider
()
=>
new
CSharpUseLocalFunctionCodeFixProvider
();
// https://github.com/dotnet/roslyn/issues/43091 blocks porting the fixer to CodeStyle layer.
protected
static
CodeFixProvider
GetCSharpUseAutoPropertyCodeFixProvider
()
=>
new
CSharpUseAutoPropertyCodeFixProvider
();
...
...
src/Features/CSharp/Portable/UseLocalFunction/CSharpUseLocalFunctionCodeFixProvider.cs
浏览文件 @
d8e8df8d
...
...
@@ -312,10 +312,10 @@ private static int TryDetermineParameterIndex(NameColonSyntax argumentNameColon,
private
static
EqualsValueClauseSyntax
GetDefaultValue
(
IParameterSymbol
parameter
)
=>
SyntaxFactory
.
EqualsValueClause
(
ExpressionGenerator
.
GenerateExpression
(
parameter
.
Type
,
parameter
.
ExplicitDefaultValue
,
canUseFieldReference
:
true
));
private
class
MyCodeAction
:
C
odeAction
.
DocumentChangeAction
private
class
MyCodeAction
:
C
ustomCodeActions
.
DocumentChangeAction
{
public
MyCodeAction
(
Func
<
CancellationToken
,
Task
<
Document
>>
createChangedDocument
)
:
base
(
FeaturesResources
.
Use_local_function
,
createChangedDocument
,
Feature
sResources
.
Use_local_function
)
:
base
(
CSharpAnalyzersResources
.
Use_local_function
,
createChangedDocument
,
CSharpAnalyzer
sResources
.
Use_local_function
)
{
}
}
...
...
src/Features/Core/Portable/FeaturesResources.resx
浏览文件 @
d8e8df8d
...
...
@@ -1126,9 +1126,6 @@ This version used in: {2}</value>
<data
name=
"Add_accessibility_modifiers"
xml:space=
"preserve"
>
<value>
Add accessibility modifiers
</value>
</data>
<data
name=
"Use_local_function"
xml:space=
"preserve"
>
<value>
Use local function
</value>
</data>
<data
name=
"Move_declaration_near_reference"
xml:space=
"preserve"
>
<value>
Move declaration near reference
</value>
</data>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.cs.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Tato verze se používá zde: {2}.</target>
<target
state=
"translated"
>
Přidat Modifikátory dostupnosti
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Použít lokální funkci
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Přesunout deklaraci do blízkosti odkazu
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.de.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Diese Version wird verwendet in: {2}</target>
<target
state=
"translated"
>
Zugriffsmodifizierer hinzufügen
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Lokale Funktion verwenden
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Deklaration nahe Referenz verschieben
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.es.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Esta versión se utiliza en: {2}</target>
<target
state=
"translated"
>
Agregar modificadores de accesibilidad
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Usar función local
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Mover la declaración cerca de la referencia
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.fr.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Version utilisée dans : {2}</target>
<target
state=
"translated"
>
Ajouter des modificateurs d'accessibilité
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Utiliser une fonction locale
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Déplacer la déclaration près de la référence
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.it.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Questa versione è usata {2}</target>
<target
state=
"translated"
>
Aggiungi i modificatori di accessibilità
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Usa la funzione locale
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Sposta la dichiarazione accanto al riferimento
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.ja.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ This version used in: {2}</source>
<target
state=
"translated"
>
アクセシビリティ修飾子を追加します
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
ローカル関数を使用します
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
宣言を参照の近くに移動します
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.ko.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ This version used in: {2}</source>
<target
state=
"translated"
>
접근성 한정자 추가
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
로컬 함수 사용
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
참조 근처로 선언 이동
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.pl.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Ta wersja jest używana wersja: {2}</target>
<target
state=
"translated"
>
Dodaj modyfikatory dostępności
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Użyj funkcji lokalnej
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Przenieś deklarację blisko odwołania
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.pt-BR.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Essa versão é usada no: {2}</target>
<target
state=
"translated"
>
Adicionar modificadores de acessibilidade
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Usar função local
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Mover declaração para próximo da referência
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.ru.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ This version used in: {2}</source>
<target
state=
"translated"
>
Добавьте модификаторы доступности
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Использовать локальную функцию
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Переместить объявление рядом со ссылкой
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.tr.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ Bu sürüm şurada kullanılır: {2}</target>
<target
state=
"translated"
>
Erişilebilirlik değiştiricileri Ekle
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
Yerel işlev kullan
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
Bildirimi başvurunun yanına taşı
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hans.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ This version used in: {2}</source>
<target
state=
"translated"
>
添加可访问性修饰符
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
使用本地函数
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
将声明移动至引用附近
</target>
...
...
src/Features/Core/Portable/xlf/FeaturesResources.zh-Hant.xlf
浏览文件 @
d8e8df8d
...
...
@@ -2810,11 +2810,6 @@ This version used in: {2}</source>
<target
state=
"translated"
>
新增協助工具修飾元
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Use_local_function"
>
<source>
Use local function
</source>
<target
state=
"translated"
>
使用區域函式
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Move_declaration_near_reference"
>
<source>
Move declaration near reference
</source>
<target
state=
"translated"
>
將宣告移近參考
</target>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录