Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
636e9aec
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,发现更多精彩内容 >>
提交
636e9aec
编写于
2月 27, 2018
作者:
A
AdamSpeight2008
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix for #17761. By adding the missing resource string for the Feature Interpolation Strings to VB.
上级
cad5ce03
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
81 addition
and
8 deletion
+81
-8
src/Compilers/VisualBasic/Portable/Errors/Errors.vb
src/Compilers/VisualBasic/Portable/Errors/Errors.vb
+1
-0
src/Compilers/VisualBasic/Portable/Parser/Parser.vb
src/Compilers/VisualBasic/Portable/Parser/Parser.vb
+1
-8
src/Compilers/VisualBasic/Portable/Parser/ParserFeature.vb
src/Compilers/VisualBasic/Portable/Parser/ParserFeature.vb
+2
-0
src/Compilers/VisualBasic/Portable/VBResources.Designer.vb
src/Compilers/VisualBasic/Portable/VBResources.Designer.vb
+9
-0
src/Compilers/VisualBasic/Portable/VBResources.resx
src/Compilers/VisualBasic/Portable/VBResources.resx
+3
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf
src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf
...ompilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf
+5
-0
src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf
...ompilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf
+5
-0
未找到文件。
src/Compilers/VisualBasic/Portable/Errors/Errors.vb
浏览文件 @
636e9aec
...
...
@@ -2017,5 +2017,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic
FEATURE_Tuples
FEATURE_LeadingDigitSeparator
FEATURE_PrivateProtected
FEATURE_InterpolatedStrings
End
Enum
End
Namespace
src/Compilers/VisualBasic/Portable/Parser/Parser.vb
浏览文件 @
636e9aec
...
...
@@ -6165,14 +6165,7 @@ checkNullable:
Return
node
End
If
If
feature
=
Feature
.
InterpolatedStrings
Then
' Bug: It is too late in the release cycle to update localized strings. As a short term measure we will output
' an unlocalized string and fix this to be localized in the next release.
Dim
requiredVersion
=
New
VisualBasicRequiredLanguageVersion
(
feature
.
GetLanguageVersion
())
Return
ReportSyntaxError
(
node
,
ERRID
.
ERR_LanguageVersion
,
languageVersion
.
GetErrorName
(),
"interpolated strings"
,
requiredVersion
)
Else
Return
ReportFeatureUnavailable
(
feature
,
node
,
languageVersion
)
End
If
Return
ReportFeatureUnavailable
(
feature
,
node
,
languageVersion
)
End
Function
Private
Shared
Function
ReportFeatureUnavailable
(
Of
TNode
As
VisualBasicSyntaxNode
)(
feature
As
Feature
,
node
As
TNode
,
languageVersion
As
LanguageVersion
)
As
TNode
...
...
src/Compilers/VisualBasic/Portable/Parser/ParserFeature.vb
浏览文件 @
636e9aec
...
...
@@ -152,6 +152,8 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax
Return
ERRID
.
FEATURE_LeadingDigitSeparator
Case
Feature
.
PrivateProtected
Return
ERRID
.
FEATURE_PrivateProtected
Case
Feature
.
InterpolatedStrings
Return
ERRID
.
FEATURE_InterpolatedStrings
Case
Else
Throw
ExceptionUtilities
.
UnexpectedValue
(
feature
)
End
Select
...
...
src/Compilers/VisualBasic/Portable/VBResources.Designer.vb
浏览文件 @
636e9aec
...
...
@@ -12072,6 +12072,15 @@ Namespace Microsoft.CodeAnalysis.VisualBasic
End Get
End Property
'''<summary>
''' Looks up a localized string similar to interpolated strings.
'''</summary>
Friend ReadOnly Property FEATURE_InterpolatedStrings() As String
Get
Return ResourceManager.GetString("FEATURE_InterpolatedStrings", resourceCulture)
End Get
End Property
'''<summary>
''' Looks up a localized string similar to iterators.
'''</summary>
...
...
src/Compilers/VisualBasic/Portable/VBResources.resx
浏览文件 @
636e9aec
...
...
@@ -5530,4 +5530,7 @@
<data
name=
"ICompoundAssignmentOperationIsNotVisualBasicCompoundAssignment"
xml:space=
"preserve"
>
<value>
{0} is not a valid Visual Basic compound assignment operation
</value>
</data>
<data
name=
"FEATURE_InterpolatedStrings"
xml:space=
"preserve"
>
<value>
interpolated strings
</value>
</data>
</root>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.cs.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.de.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.es.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.fr.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.it.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.ja.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target
state=
"new"
>
Invalid hash algorithm name: '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"FEATURE_InterpolatedStrings"
>
<source>
interpolated strings
</source>
<target
state=
"new"
>
interpolated strings
</target>
<note
/>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.ko.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target
state=
"new"
>
Invalid hash algorithm name: '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"FEATURE_InterpolatedStrings"
>
<source>
interpolated strings
</source>
<target
state=
"new"
>
interpolated strings
</target>
<note
/>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.pl.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.pt-BR.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.ru.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.tr.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target state="new">Invalid hash algorithm name: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="FEATURE_InterpolatedStrings">
<source>interpolated strings</source>
<target state="new">interpolated strings</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hans.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target
state=
"new"
>
Invalid hash algorithm name: '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"FEATURE_InterpolatedStrings"
>
<source>
interpolated strings
</source>
<target
state=
"new"
>
interpolated strings
</target>
<note
/>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
src/Compilers/VisualBasic/Portable/xlf/VBResources.zh-Hant.xlf
浏览文件 @
636e9aec
...
...
@@ -9081,6 +9081,11 @@
<target
state=
"new"
>
Invalid hash algorithm name: '{0}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"FEATURE_InterpolatedStrings"
>
<source>
interpolated strings
</source>
<target
state=
"new"
>
interpolated strings
</target>
<note
/>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录