Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
92ccf533
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,发现更多精彩内容 >>
提交
92ccf533
编写于
4月 22, 2020
作者:
A
Allison Chou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Suggestion mode for pattern keyword completion
上级
49e35a55
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
405 addition
and
0 deletion
+405
-0
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SuggestionModeCompletionProviderTests.cs
...pletionProviders/SuggestionModeCompletionProviderTests.cs
+200
-0
src/EditorFeatures/CSharpTest2/Recommendations/AndKeywordRecommenderTests.cs
...CSharpTest2/Recommendations/AndKeywordRecommenderTests.cs
+13
-0
src/EditorFeatures/CSharpTest2/Recommendations/OrKeywordRecommenderTests.cs
.../CSharpTest2/Recommendations/OrKeywordRecommenderTests.cs
+13
-0
src/Features/CSharp/Portable/CSharpFeaturesResources.resx
src/Features/CSharp/Portable/CSharpFeaturesResources.resx
+6
-0
src/Features/CSharp/Portable/Completion/SuggestionMode/CSharpSuggestionModeCompletionProvider.cs
.../SuggestionMode/CSharpSuggestionModeCompletionProvider.cs
+43
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf
...res/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf
...atures/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf
...s/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf
+10
-0
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf
...s/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf
+10
-0
未找到文件。
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SuggestionModeCompletionProviderTests.cs
浏览文件 @
92ccf533
...
...
@@ -1101,6 +1101,206 @@ public static void ReproMethod(Goo goo)
await
VerifyNotBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInDeclarationPattern
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is int o$$)
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInDeclarationPattern2
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is System.Collections.Generic.List<int> an$$)
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInRecursivePattern
()
{
var
markup
=
@"
class C
{
int P { get; }
void M(C test)
{
if (test is { P: 1 } o$$)
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInAndPattern
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is 1 and int a$$)
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInAndOrPattern
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is (int or 1) and int a$$)
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInSwitchStatement
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
switch (e)
{
case int o$$
}
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestInSwitchExpression
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
var result = e switch
{
int o$$
}
}
}"
;
await
VerifyBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestMissingInNotPattern_Declaration
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is not int o$$)
}
}"
;
await
VerifyNotBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestMissingInNotPattern_Declaration2
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is not (1 and int o$$))
}
}"
;
await
VerifyNotBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestMissingInNotPattern_Recursive
()
{
var
markup
=
@"
class C
{
int P { get; }
void M(C test)
{
if (test is not { P: 1 } o$$)
}
}"
;
await
VerifyNotBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestMissingInOrPattern
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is 1 or int o$$)
}
}"
;
await
VerifyNotBuilderAsync
(
markup
);
}
[
WorkItem
(
42368
,
"https://github.com/dotnet/roslyn/issues/42368"
)]
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
Completion
)]
public
async
Task
TestMissingInAndOrPattern
()
{
var
markup
=
@"
class C
{
void M()
{
var e = new object();
if (e is 1 or int and int o$$)
}
}"
;
await
VerifyNotBuilderAsync
(
markup
);
}
private
async
Task
VerifyNotBuilderAsync
(
string
markup
)
=>
await
VerifyWorkerAsync
(
markup
,
isBuilder
:
false
);
...
...
src/EditorFeatures/CSharpTest2/Recommendations/AndKeywordRecommenderTests.cs
浏览文件 @
92ccf533
...
...
@@ -92,6 +92,19 @@ void M()
if (e is System.Collections.Generic.List<int> $$"
);
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
KeywordRecommending
)]
public
async
Task
TestAfterRecursivePattern
()
{
await
VerifyKeywordAsync
(
@"class C
{
int P { get; }
void M(C test)
{
if (test is { P: 1 } $$"
);
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
KeywordRecommending
)]
public
async
Task
TestInsideSubpattern
()
{
...
...
src/EditorFeatures/CSharpTest2/Recommendations/OrKeywordRecommenderTests.cs
浏览文件 @
92ccf533
...
...
@@ -92,6 +92,19 @@ void M()
if (e is System.Collections.Generic.List<int> $$"
);
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
KeywordRecommending
)]
public
async
Task
TestAfterRecursivePattern
()
{
await
VerifyKeywordAsync
(
@"class C
{
int P { get; }
void M(C test)
{
if (test is { P: 1 } $$"
);
}
[
Fact
,
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
KeywordRecommending
)]
public
async
Task
TestInsideSubpattern
()
{
...
...
src/Features/CSharp/Portable/CSharpFeaturesResources.resx
浏览文件 @
92ccf533
...
...
@@ -156,6 +156,12 @@
<data
name=
"Autoselect_disabled_due_to_possible_tuple_type_element_creation"
xml:space=
"preserve"
>
<value>
Autoselect disabled due to possible tuple type element creation.
</value>
</data>
<data
name=
"pattern_variable"
xml:space=
"preserve"
>
<value>
<
pattern variable
>
</value>
</data>
<data
name=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
xml:space=
"preserve"
>
<value>
Autoselect disabled due to potential pattern variable declaration.
</value>
</data>
<data
name=
"range_variable"
xml:space=
"preserve"
>
<value>
<
range variable
>
</value>
</data>
...
...
src/Features/CSharp/Portable/Completion/SuggestionMode/CSharpSuggestionModeCompletionProvider.cs
浏览文件 @
92ccf533
...
...
@@ -60,6 +60,10 @@ public CSharpSuggestionModeCompletionProvider()
{
return
CreateSuggestionModeItem
(
CSharpFeaturesResources
.
member_name
,
CSharpFeaturesResources
.
Autoselect_disabled_due_to_possible_explicitly_named_anonymous_type_member_creation
);
}
else
if
(
IsPotentialPatternVariableDeclaration
(
tree
.
FindTokenOnLeftOfPosition
(
position
,
cancellationToken
)))
{
return
CreateSuggestionModeItem
(
CSharpFeaturesResources
.
pattern_variable
,
CSharpFeaturesResources
.
Autoselect_disabled_due_to_potential_pattern_variable_declaration
);
}
else
if
(
token
.
IsPreProcessorExpressionContext
())
{
return
CreateEmptySuggestionModeItem
();
...
...
@@ -198,5 +202,44 @@ private ITypeSymbol GetDelegateType(TypeInferenceInfo typeInferenceInfo, Compila
return
typeSymbol
.
GetDelegateType
(
compilation
);
}
private
bool
IsPotentialPatternVariableDeclaration
(
SyntaxToken
token
)
{
var
patternSyntax
=
token
.
GetAncestor
<
PatternSyntax
>();
if
(
patternSyntax
==
null
)
{
return
false
;
}
// Statements containing 'not' cannot be valid variable declarations, e.g. 'e is not int $$' and 'e is not (1 and int $$)'
if
(
patternSyntax
.
GetAncestorsOrThis
(
a
=>
a
is
UnaryPatternSyntax
unaryPatternSyntax
&&
unaryPatternSyntax
.
PatternOperator
.
IsKind
(
SyntaxKind
.
NotKeyword
)).
Any
())
{
return
false
;
}
// Patterns containing 'or' cannot contain valid variable declarations, e.g. 'e is 1 or int $$'
var
possibleBinaryPattern
=
patternSyntax
.
Parent
;
while
(
possibleBinaryPattern
is
BinaryPatternSyntax
binaryPatternSyntax
)
{
if
(
binaryPatternSyntax
.
PatternOperator
.
IsKind
(
SyntaxKind
.
OrKeyword
))
{
return
false
;
}
possibleBinaryPattern
=
binaryPatternSyntax
.
Parent
;
}
// e is int o$$
// e is { P: 1 } o$$
var
lastTokenInPattern
=
patternSyntax
.
GetLastToken
();
if
(
lastTokenInPattern
.
Parent
is
SingleVariableDesignationSyntax
variableDesignationSyntax
&&
token
.
Parent
==
variableDesignationSyntax
)
{
return
patternSyntax
is
DeclarationPatternSyntax
||
patternSyntax
is
RecursivePatternSyntax
;
}
return
false
;
}
}
}
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Automatický výběr je zakázaný kvůli možnému vytvoření elementu typu řazená kolekce členů.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
proměnná rozsahu
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Die automatische Auswahl wurde aufgrund einer möglichen Tupeltyp-Elementerstellung deaktiviert.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
Bereichsvariable
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
La selección automática se deshabilitó debido a la posible creación de elementos de tipo de tupla.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
variable de intervalo
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Sélection automatique désactivée en raison de la création possible d'un élément de type tuple.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
variable de plage
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
La selezione automatica è disabilitata a causa della potenziale creazione di elementi di tipo tupla.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
variabile di intervallo
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
タプル型の要素が作成された可能性があるため、自動選択は無効になっています。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
範囲変数
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
가능한 튜플 형식 요소 만들기로 인해 자동 선택을 사용할 수 없습니다.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
범위 변수
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Funkcja automatycznego wyboru została wyłączona ze względu na prawdopodobne utworzenie elementu typu krotki.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
zmienna zakresu
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pt-BR.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Seleção automática desabilitada devido a uma possível criação de elemento do tipo tupla.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
variável de intervalo
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Автовыбор отключен из-за возможного создания элемента типа кортежа.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
переменная диапазона
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
Olası demet türü öğe oluşturma işleminden dolayı Otomatik seçim devre dışı bırakıldı.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
Aralık değişkeni
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hans.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
由于可能的元组类型元素创建,已禁用自动选择。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
范围变量
>
</target>
...
...
src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.zh-Hant.xlf
浏览文件 @
92ccf533
...
...
@@ -77,6 +77,11 @@
<target
state=
"new"
>
Assign to '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Autoselect_disabled_due_to_potential_pattern_variable_declaration"
>
<source>
Autoselect disabled due to potential pattern variable declaration.
</source>
<target
state=
"new"
>
Autoselect disabled due to potential pattern variable declaration.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Compare_to_0"
>
<source>
Compare to '{0}'
</source>
<target
state=
"new"
>
Compare to '{0}'
</target>
...
...
@@ -237,6 +242,11 @@
<target
state=
"translated"
>
因為可能建立元組類型元素,所以停用自動選擇。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"pattern_variable"
>
<source>
<
pattern variable
>
</source>
<target
state=
"new"
>
<
pattern variable
>
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"range_variable"
>
<source>
<
range variable
>
</source>
<target
state=
"translated"
>
<
範圍變數
>
</target>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录