Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
45a2a89b
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,发现更多精彩内容 >>
未验证
提交
45a2a89b
编写于
8月 10, 2017
作者:
F
Fredric Silberberg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed more test text changes.
上级
eca9a7f6
变更
9
展开全部
显示空白变更内容
内联
并排
Showing
9 changed file
with
108 addition
and
108 deletion
+108
-108
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IArgument.cs
...arp/Test/Semantic/IOperation/IOperationTests_IArgument.cs
+6
-6
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IVariableDeclaration.cs
...mantic/IOperation/IOperationTests_IVariableDeclaration.cs
+3
-3
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_InvalidStatement.cs
...t/Semantic/IOperation/IOperationTests_InvalidStatement.cs
+1
-1
src/Compilers/CSharp/Test/Semantic/Semantics/ObjectAndCollectionInitializerTests.cs
...Semantic/Semantics/ObjectAndCollectionInitializerTests.cs
+69
-69
src/Compilers/CSharp/Test/Symbol/Symbols/AnonymousTypesSemanticsTests.cs
...Sharp/Test/Symbol/Symbols/AnonymousTypesSemanticsTests.cs
+8
-8
src/Compilers/VisualBasic/Test/Semantic/Binding/BindingCollectionInitializerTests.vb
...est/Semantic/Binding/BindingCollectionInitializerTests.vb
+5
-5
src/Compilers/VisualBasic/Test/Semantic/Binding/BindingObjectInitializerTests.vb
...ic/Test/Semantic/Binding/BindingObjectInitializerTests.vb
+7
-7
src/Compilers/VisualBasic/Test/Semantic/Semantics/AnonymousTypesTests.vb
...isualBasic/Test/Semantic/Semantics/AnonymousTypesTests.vb
+8
-8
src/Compilers/VisualBasic/Test/Semantic/Semantics/SelectCaseTests.vb
...rs/VisualBasic/Test/Semantic/Semantics/SelectCaseTests.vb
+1
-1
未找到文件。
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IArgument.cs
浏览文件 @
45a2a89b
...
@@ -184,11 +184,11 @@ static void M1()
...
@@ -184,11 +184,11 @@ static void M1()
IInvocationExpression (static void P.M2([System.Int32 x = 1], [System.Int32 y = 2], [System.Int32 z = 3])) (OperationKind.InvocationExpression, Type: System.Void) (Syntax: 'M2(y: 0, z: 2)')
IInvocationExpression (static void P.M2([System.Int32 x = 1], [System.Int32 y = 2], [System.Int32 z = 3])) (OperationKind.InvocationExpression, Type: System.Void) (Syntax: 'M2(y: 0, z: 2)')
Arguments(3):
Arguments(3):
IArgument (ArgumentKind.Explicit, Matching Parameter: y) (OperationKind.Argument) (Syntax: '0')
IArgument (ArgumentKind.Explicit, Matching Parameter: y) (OperationKind.Argument) (Syntax: '0')
ILiteralExpression (
Text: 0) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
IArgument (ArgumentKind.Explicit, Matching Parameter: z) (OperationKind.Argument) (Syntax: '2')
IArgument (ArgumentKind.Explicit, Matching Parameter: z) (OperationKind.Argument) (Syntax: '2')
ILiteralExpression (
Text: 2) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 2) (Syntax: '2')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 2) (Syntax: '2')
IArgument (ArgumentKind.DefaultValue, Matching Parameter: x) (OperationKind.Argument) (Syntax: 'M2(y: 0, z: 2)')
IArgument (ArgumentKind.DefaultValue, Matching Parameter: x) (OperationKind.Argument) (Syntax: 'M2(y: 0, z: 2)')
ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: 'M2(y: 0, z: 2)')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: 'M2(y: 0, z: 2)')
"
;
"
;
var
expectedDiagnostics
=
DiagnosticDescription
.
None
;
var
expectedDiagnostics
=
DiagnosticDescription
.
None
;
...
@@ -1830,7 +1830,7 @@ public static void Main(string[] args)
...
@@ -1830,7 +1830,7 @@ public static void Main(string[] args)
Instance Receiver: ILocalReferenceExpression: p (OperationKind.LocalReferenceExpression, Type: P) (Syntax: 'p')
Instance Receiver: ILocalReferenceExpression: p (OperationKind.LocalReferenceExpression, Type: P) (Syntax: 'p')
Arguments(2):
Arguments(2):
IArgument (ArgumentKind.Explicit, Matching Parameter: i) (OperationKind.Argument) (Syntax: '10')
IArgument (ArgumentKind.Explicit, Matching Parameter: i) (OperationKind.Argument) (Syntax: '10')
ILiteralExpression (
Text: 10) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 10) (Syntax: '10')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 10) (Syntax: '10')
InConversion: null
InConversion: null
OutConversion: null
OutConversion: null
IArgument (ArgumentKind.DefaultValue, Matching Parameter: j) (OperationKind.Argument) (Syntax: 'p[10]')
IArgument (ArgumentKind.DefaultValue, Matching Parameter: j) (OperationKind.Argument) (Syntax: 'p[10]')
...
@@ -1947,7 +1947,7 @@ public static void Main(string[] args)
...
@@ -1947,7 +1947,7 @@ public static void Main(string[] args)
Instance Receiver: ILocalReferenceExpression: p (OperationKind.LocalReferenceExpression, Type: P) (Syntax: 'p')
Instance Receiver: ILocalReferenceExpression: p (OperationKind.LocalReferenceExpression, Type: P) (Syntax: 'p')
Arguments(2):
Arguments(2):
IArgument (ArgumentKind.Explicit, Matching Parameter: i) (OperationKind.Argument) (Syntax: '10')
IArgument (ArgumentKind.Explicit, Matching Parameter: i) (OperationKind.Argument) (Syntax: '10')
ILiteralExpression (
Text: 10) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 10) (Syntax: '10')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 10) (Syntax: '10')
InConversion: null
InConversion: null
OutConversion: null
OutConversion: null
IArgument (ArgumentKind.DefaultValue, Matching Parameter: j) (OperationKind.Argument) (Syntax: 'p[10]')
IArgument (ArgumentKind.DefaultValue, Matching Parameter: j) (OperationKind.Argument) (Syntax: 'p[10]')
...
@@ -2092,7 +2092,7 @@ static void M2(int x, S s = 0)
...
@@ -2092,7 +2092,7 @@ static void M2(int x, S s = 0)
Instance Receiver: null
Instance Receiver: null
Arguments(1):
Arguments(1):
IArgument (ArgumentKind.Explicit, Matching Parameter: null) (OperationKind.Argument) (Syntax: '1')
IArgument (ArgumentKind.Explicit, Matching Parameter: null) (OperationKind.Argument) (Syntax: '1')
ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
InConversion: null
InConversion: null
OutConversion: null
OutConversion: null
"
;
"
;
...
...
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IVariableDeclaration.cs
浏览文件 @
45a2a89b
...
@@ -1161,7 +1161,7 @@ static void Main(string[] args)
...
@@ -1161,7 +1161,7 @@ static void Main(string[] args)
IVariableDeclarationStatement (1 declarations) (OperationKind.VariableDeclarationStatement) (Syntax: 'i = 0')
IVariableDeclarationStatement (1 declarations) (OperationKind.VariableDeclarationStatement) (Syntax: 'i = 0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'i = 0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'i = 0')
Variables: Local_1: System.Int32 i
Variables: Local_1: System.Int32 i
Initializer: ILiteralExpression (
Text: 0) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
Initializer: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
"
;
"
;
var
expectedDiagnostics
=
DiagnosticDescription
.
None
;
var
expectedDiagnostics
=
DiagnosticDescription
.
None
;
...
@@ -1187,10 +1187,10 @@ static void Main(string[] args)
...
@@ -1187,10 +1187,10 @@ static void Main(string[] args)
IVariableDeclarationStatement (2 declarations) (OperationKind.VariableDeclarationStatement) (Syntax: 'int i = 0, j = 0')
IVariableDeclarationStatement (2 declarations) (OperationKind.VariableDeclarationStatement) (Syntax: 'int i = 0, j = 0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'i = 0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'i = 0')
Variables: Local_1: System.Int32 i
Variables: Local_1: System.Int32 i
Initializer: ILiteralExpression (
Text: 0) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
Initializer: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'j = 0')
IVariableDeclaration (1 variables) (OperationKind.VariableDeclaration) (Syntax: 'j = 0')
Variables: Local_1: System.Int32 j
Variables: Local_1: System.Int32 j
Initializer: ILiteralExpression (
Text: 0) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
Initializer: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 0) (Syntax: '0')
"
;
"
;
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
// CS0219: The variable 'j' is assigned but its value is never used
// CS0219: The variable 'j' is assigned but its value is never used
...
...
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_InvalidStatement.cs
浏览文件 @
45a2a89b
...
@@ -323,7 +323,7 @@ static void Main(string[] args)
...
@@ -323,7 +323,7 @@ static void Main(string[] args)
"
;
"
;
string
expectedOperationTree
=
@"
string
expectedOperationTree
=
@"
IInvalidStatement (OperationKind.InvalidStatement, IsInvalid) (Syntax: 'goto case 1;')
IInvalidStatement (OperationKind.InvalidStatement, IsInvalid) (Syntax: 'goto case 1;')
ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
"
;
"
;
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
// CS0153: A goto case is only valid inside a switch statement
// CS0153: A goto case is only valid inside a switch statement
...
...
src/Compilers/CSharp/Test/Semantic/Semantics/ObjectAndCollectionInitializerTests.cs
浏览文件 @
45a2a89b
此差异已折叠。
点击以展开。
src/Compilers/CSharp/Test/Symbol/Symbols/AnonymousTypesSemanticsTests.cs
浏览文件 @
45a2a89b
...
@@ -144,7 +144,7 @@ public int aa
...
@@ -144,7 +144,7 @@ public int aa
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'aa = 1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'aa = 1')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>.aa { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'aa')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>.aa { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'aa')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.String, Constant: """") (Syntax: 'BB = """"')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.String, Constant: """") (Syntax: 'BB = """"')
Left: IPropertyReferenceExpression: System.String <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.String) (Syntax: 'BB')
Left: IPropertyReferenceExpression: System.String <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.String) (Syntax: 'BB')
Instance Receiver: null
Instance Receiver: null
...
@@ -171,7 +171,7 @@ public int aa
...
@@ -171,7 +171,7 @@ public int aa
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double, Constant: 123.456) (Syntax: 'BB = 123.456')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double, Constant: 123.456) (Syntax: 'BB = 123.456')
Left: IPropertyReferenceExpression: System.Double <anonymous type: ClassA.SSS aa, System.Double BB, <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'BB')
Left: IPropertyReferenceExpression: System.Double <anonymous type: ClassA.SSS aa, System.Double BB, <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'BB')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 123.456) (
OperationKind.LiteralExpression, Type: System.Double, Constant: 123.456) (Syntax: '123.456')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Double, Constant: 123.456) (Syntax: '123.456')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>) (Syntax: 'CCC = new ... }')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>) (Syntax: 'CCC = new ... }')
Left: IPropertyReferenceExpression: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> <anonymous type: ClassA.SSS aa, System.Double BB, <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> CCC>.CCC { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>) (Syntax: 'CCC')
Left: IPropertyReferenceExpression: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> <anonymous type: ClassA.SSS aa, System.Double BB, <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC> CCC>.CCC { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <anonymous type: System.Int32 aa, System.String BB, ClassA.SSS CCC>) (Syntax: 'CCC')
Instance Receiver: null
Instance Receiver: null
...
@@ -789,7 +789,7 @@ void m()
...
@@ -789,7 +789,7 @@ void m()
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'x = 1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'x = 1')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 x, <empty anonymous type> y>.x { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'x')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 x, <empty anonymous type> y>.x { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'x')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <empty anonymous type>) (Syntax: 'y = new { }')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <empty anonymous type>) (Syntax: 'y = new { }')
Left: IPropertyReferenceExpression: <empty anonymous type> <anonymous type: System.Int32 x, <empty anonymous type> y>.y { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <empty anonymous type>) (Syntax: 'y')
Left: IPropertyReferenceExpression: <empty anonymous type> <anonymous type: System.Int32 x, <empty anonymous type> y>.y { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <empty anonymous type>) (Syntax: 'y')
Instance Receiver: null
Instance Receiver: null
...
@@ -850,7 +850,7 @@ void m()
...
@@ -850,7 +850,7 @@ void m()
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'x = 1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'x = 1')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 x, <empty anonymous type> y>.x { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'x')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 x, <empty anonymous type> y>.x { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'x')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <empty anonymous type>) (Syntax: 'y = new { }')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <empty anonymous type>) (Syntax: 'y = new { }')
Left: IPropertyReferenceExpression: <empty anonymous type> <anonymous type: System.Int32 x, <empty anonymous type> y>.y { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <empty anonymous type>) (Syntax: 'y')
Left: IPropertyReferenceExpression: <empty anonymous type> <anonymous type: System.Int32 x, <empty anonymous type> y>.y { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <empty anonymous type>) (Syntax: 'y')
Instance Receiver: null
Instance Receiver: null
...
@@ -1049,7 +1049,7 @@ public static void Test1(int x)
...
@@ -1049,7 +1049,7 @@ public static void Test1(int x)
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double, Constant: 123.456) (Syntax: 'BB = 123.456')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double, Constant: 123.456) (Syntax: 'BB = 123.456')
Left: IPropertyReferenceExpression: System.Double <anonymous type: SSS aa, System.Double BB, <anonymous type: ? aa, ? BB, ? CCC> CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'BB')
Left: IPropertyReferenceExpression: System.Double <anonymous type: SSS aa, System.Double BB, <anonymous type: ? aa, ? BB, ? CCC> CCC>.BB { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'BB')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 123.456) (
OperationKind.LiteralExpression, Type: System.Double, Constant: 123.456) (Syntax: '123.456')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Double, Constant: 123.456) (Syntax: '123.456')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <anonymous type: ? aa, ? BB, ? CCC>, IsInvalid) (Syntax: 'CCC = new ... }')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: <anonymous type: ? aa, ? BB, ? CCC>, IsInvalid) (Syntax: 'CCC = new ... }')
Left: IPropertyReferenceExpression: <anonymous type: ? aa, ? BB, ? CCC> <anonymous type: SSS aa, System.Double BB, <anonymous type: ? aa, ? BB, ? CCC> CCC>.CCC { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <anonymous type: ? aa, ? BB, ? CCC>) (Syntax: 'CCC')
Left: IPropertyReferenceExpression: <anonymous type: ? aa, ? BB, ? CCC> <anonymous type: SSS aa, System.Double BB, <anonymous type: ? aa, ? BB, ? CCC> CCC>.CCC { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: <anonymous type: ? aa, ? BB, ? CCC>) (Syntax: 'CCC')
Instance Receiver: null
Instance Receiver: null
...
@@ -1210,11 +1210,11 @@ public static void Test1(int x)
...
@@ -1210,11 +1210,11 @@ public static void Test1(int x)
IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpression, Type: <anonymous type: System.Int32 aa, System.String $1, System.Double bb>, IsInvalid) (Syntax: 'new ... }')
IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpression, Type: <anonymous type: System.Int32 aa, System.String $1, System.Double bb>, IsInvalid) (Syntax: 'new ... }')
Initializers(3): ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'aa = 1')
Initializers(3): ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 1) (Syntax: 'aa = 1')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 aa, System.String $1, System.Double bb>.aa { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'aa')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 aa, System.String $1, System.Double bb>.aa { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'aa')
Right: ILiteralExpression (
Text: 1) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 1) (Syntax: '1')
IFieldReferenceExpression: System.String ClassA.aa (Static) (OperationKind.FieldReferenceExpression, Type: System.String) (Syntax: 'ClassA.aa')
IFieldReferenceExpression: System.String ClassA.aa (Static) (OperationKind.FieldReferenceExpression, Type: System.String) (Syntax: 'ClassA.aa')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double) (Syntax: 'ClassA.aa')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Double) (Syntax: 'ClassA.aa')
Left: IPropertyReferenceExpression: System.Double <anonymous type: System.Int32 aa, System.String $1, System.Double bb>.bb { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'bb')
Left: IPropertyReferenceExpression: System.Double <anonymous type: System.Int32 aa, System.String $1, System.Double bb>.bb { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Double) (Syntax: 'bb')
Right: ILiteralExpression (
Text: 1.2) (
OperationKind.LiteralExpression, Type: System.Double, Constant: 1.2) (Syntax: '1.2')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Double, Constant: 1.2) (Syntax: '1.2')
"
;
"
;
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
// CS0833: An anonymous type cannot have multiple properties with the same name
// CS0833: An anonymous type cannot have multiple properties with the same name
...
@@ -1313,7 +1313,7 @@ class A
...
@@ -1313,7 +1313,7 @@ class A
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 2) (Syntax: 'a = 2')
ISimpleAssignmentExpression (OperationKind.SimpleAssignmentExpression, Type: System.Int32, Constant: 2) (Syntax: 'a = 2')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 a>.a { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'a')
Left: IPropertyReferenceExpression: System.Int32 <anonymous type: System.Int32 a>.a { get; } (Static) (OperationKind.PropertyReferenceExpression, Type: System.Int32) (Syntax: 'a')
Instance Receiver: null
Instance Receiver: null
Right: ILiteralExpression (
Text: 2) (
OperationKind.LiteralExpression, Type: System.Int32, Constant: 2) (Syntax: '2')
Right: ILiteralExpression (OperationKind.LiteralExpression, Type: System.Int32, Constant: 2) (Syntax: '2')
"
;
"
;
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
var
expectedDiagnostics
=
new
DiagnosticDescription
[]
{
// CS0836: Cannot use anonymous type in a constant expression
// CS0836: Cannot use anonymous type in a constant expression
...
...
src/Compilers/VisualBasic/Test/Semantic/Binding/BindingCollectionInitializerTests.vb
浏览文件 @
45a2a89b
...
@@ -130,11 +130,11 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.Dictionar
...
@@ -130,11 +130,11 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.Dictionar
ICollectionElementInitializerExpression
(
AddMethod
:
Sub
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Add
(
key
As
System
.
String
,
value
As
System
.
Int32
))
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
Void
)
(
Syntax
:
'{"Hello", 23}')
ICollectionElementInitializerExpression
(
AddMethod
:
Sub
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Add
(
key
As
System
.
String
,
value
As
System
.
Int32
))
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
Void
)
(
Syntax
:
'{"Hello", 23}')
Arguments
(
2
):
Arguments
(
2
):
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"Hello"
)
(
Syntax
:
'"Hello"')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"Hello"
)
(
Syntax
:
'"Hello"')
ILiteralExpression
(
Text
:
23
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
ICollectionElementInitializerExpression
(
AddMethod
:
Sub
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Add
(
key
As
System
.
String
,
value
As
System
.
Int32
))
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
Void
)
(
Syntax
:
'{"World", 42}')
ICollectionElementInitializerExpression
(
AddMethod
:
Sub
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Add
(
key
As
System
.
String
,
value
As
System
.
Int32
))
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
Void
)
(
Syntax
:
'{"World", 42}')
Arguments
(
2
):
Arguments
(
2
):
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"World"
)
(
Syntax
:
'"World"')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"World"
)
(
Syntax
:
'"World"')
ILiteralExpression
(
Text
:
42
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
42
)
(
Syntax
:
'42')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
42
)
(
Syntax
:
'42')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
String
.
Empty
Dim
expectedDiagnostics
=
String
.
Empty
...
@@ -599,7 +599,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
...
@@ -599,7 +599,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
Initializers
(
1
):
Initializers
(
1
):
ICollectionElementInitializerExpression
(
AddMethod
:
Function
C1
.
Add
(
p
As
System
.
Int32
)
As
System
.
String
)
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
String
)
(
Syntax
:
'1')
ICollectionElementInitializerExpression
(
AddMethod
:
Function
C1
.
Add
(
p
As
System
.
Int32
)
As
System
.
String
)
(
IsDynamic
:
False
)
(
OperationKind
.
CollectionElementInitializerExpression
,
Type
:
System
.
String
)
(
Syntax
:
'1')
Arguments
(
1
):
Arguments
(
1
):
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
String
.
Empty
Dim
expectedDiagnostics
=
String
.
Empty
...
@@ -1094,7 +1094,7 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.Dictionar
...
@@ -1094,7 +1094,7 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.Dictionar
IInvalidExpression
(
OperationKind
.
InvalidExpression
,
Type
:
System
.
Void
,
IsInvalid
)
(
Syntax
:
'{1}')
IInvalidExpression
(
OperationKind
.
InvalidExpression
,
Type
:
System
.
Void
,
IsInvalid
)
(
Syntax
:
'{1}')
Children
(
2
):
Children
(
2
):
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'{1}')
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'{1}')
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
,
IsInvalid
)
(
Syntax
:
'1')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
,
IsInvalid
)
(
Syntax
:
'1')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
...
@@ -1397,7 +1397,7 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.List(Of S
...
@@ -1397,7 +1397,7 @@ IObjectCreationExpression (Constructor: Sub System.Collections.Generic.List(Of S
Instance
Receiver
:
ILocalReferenceExpression
:
x
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Collections
.
Generic
.
List
(
Of
System
.
String
))
(
Syntax
:
'x')
Instance
Receiver
:
ILocalReferenceExpression
:
x
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Collections
.
Generic
.
List
(
Of
System
.
String
))
(
Syntax
:
'x')
Arguments
(
1
):
Arguments
(
1
):
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
index
)
(
OperationKind
.
Argument
)
(
Syntax
:
'0')
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
index
)
(
OperationKind
.
Argument
)
(
Syntax
:
'0')
ILiteralExpression
(
Text
:
0
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
0
)
(
Syntax
:
'0')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
0
)
(
Syntax
:
'0')
InConversion
:
null
InConversion
:
null
OutConversion
:
null
OutConversion
:
null
]]
>
.
Value
]]
>
.
Value
...
...
src/Compilers/VisualBasic/Test/Semantic/Binding/BindingObjectInitializerTests.vb
浏览文件 @
45a2a89b
...
@@ -290,7 +290,7 @@ IObjectCreationExpression (Constructor: Sub C2..ctor()) (OperationKind.ObjectCre
...
@@ -290,7 +290,7 @@ IObjectCreationExpression (Constructor: Sub C2..ctor()) (OperationKind.ObjectCre
Children
(
1
):
Children
(
1
):
IInvalidExpression
(
OperationKind
.
InvalidExpression
,
Type
:
?
,
IsInvalid
)
(
Syntax
:
'Key')
IInvalidExpression
(
OperationKind
.
InvalidExpression
,
Type
:
?
,
IsInvalid
)
(
Syntax
:
'Key')
Children
(
0
)
Children
(
0
)
Right
:
ILiteralExpression
(
Text
:
23
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
...
@@ -535,7 +535,7 @@ IObjectCreationExpression (Constructor: Sub C2..ctor()) (OperationKind.ObjectCre
...
@@ -535,7 +535,7 @@ IObjectCreationExpression (Constructor: Sub C2..ctor()) (OperationKind.ObjectCre
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C2() Wi ... Field = 23}')
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C2() Wi ... Field = 23}')
Right
:
IConversionExpression
(
Implicit
,
TryCast
:
False
,
Unchecked
)
(
OperationKind
.
ConversionExpression
,
Type
:
?
)
(
Syntax
:
'23')
Right
:
IConversionExpression
(
Implicit
,
TryCast
:
False
,
Unchecked
)
(
OperationKind
.
ConversionExpression
,
Type
:
?
)
(
Syntax
:
'23')
Conversion
:
CommonConversion
(
Exists
:
False
,
IsIdentity
:
False
,
IsNumeric
:
False
,
IsReference
:
False
,
IsUserDefined
:
False
)
(
MethodSymbol
:
null
)
Conversion
:
CommonConversion
(
Exists
:
False
,
IsIdentity
:
False
,
IsNumeric
:
False
,
IsReference
:
False
,
IsUserDefined
:
False
)
(
MethodSymbol
:
null
)
Operand
:
ILiteralExpression
(
Text
:
23
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
Operand
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
...
@@ -1004,7 +1004,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
...
@@ -1004,7 +1004,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field = 23')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field = 23')
Left
:
IFieldReferenceExpression
:
C1
.
Field
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field')
Left
:
IFieldReferenceExpression
:
C1
.
Field
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C1() Wi ... ield = 42}}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C1() Wi ... ield = 42}}')
Right
:
ILiteralExpression
(
Text
:
23
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
C2
)
(
Syntax
:
'.FieldC2 = ... Field = 42}')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
C2
)
(
Syntax
:
'.FieldC2 = ... Field = 42}')
Left
:
IFieldReferenceExpression
:
C1
.
FieldC2
As
C2
(
OperationKind
.
FieldReferenceExpression
,
Type
:
C2
)
(
Syntax
:
'FieldC2')
Left
:
IFieldReferenceExpression
:
C1
.
FieldC2
As
C2
(
OperationKind
.
FieldReferenceExpression
,
Type
:
C2
)
(
Syntax
:
'FieldC2')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C1() Wi ... ield = 42}}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C1() Wi ... ield = 42}}')
...
@@ -1015,7 +1015,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
...
@@ -1015,7 +1015,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field = 42')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field = 42')
Left
:
IFieldReferenceExpression
:
C2
.
Field
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field')
Left
:
IFieldReferenceExpression
:
C2
.
Field
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C2() Wi ... Field = 42}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New C2() Wi ... Field = 42}')
Right
:
ILiteralExpression
(
Text
:
42
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
42
)
(
Syntax
:
'42')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
42
)
(
Syntax
:
'42')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
String
.
Empty
Dim
expectedDiagnostics
=
String
.
Empty
...
@@ -1053,7 +1053,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
...
@@ -1053,7 +1053,7 @@ IObjectCreationExpression (Constructor: Sub C1..ctor()) (OperationKind.ObjectCre
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field1 = 23')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.Field1 = 23')
Left
:
IFieldReferenceExpression
:
C1
.
Field1
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field1')
Left
:
IFieldReferenceExpression
:
C1
.
Field1
As
System
.
Int32
(
OperationKind
.
FieldReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'Field1')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C1() Wi ... = .Field2}}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C1() Wi ... = .Field2}}')
Right
:
ILiteralExpression
(
Text
:
23
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
23
)
(
Syntax
:
'23')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
C2
,
IsInvalid
)
(
Syntax
:
'.FieldC2 = ... = .Field2}')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
C2
,
IsInvalid
)
(
Syntax
:
'.FieldC2 = ... = .Field2}')
Left
:
IFieldReferenceExpression
:
C1
.
FieldC2
As
C2
(
OperationKind
.
FieldReferenceExpression
,
Type
:
C2
)
(
Syntax
:
'FieldC2')
Left
:
IFieldReferenceExpression
:
C1
.
FieldC2
As
C2
(
OperationKind
.
FieldReferenceExpression
,
Type
:
C2
)
(
Syntax
:
'FieldC2')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C1() Wi ... = .Field2}}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
,
IsInvalid
)
(
Syntax
:
'New C1() Wi ... = .Field2}}')
...
@@ -1469,7 +1469,7 @@ IObjectCreationExpression (Constructor: Sub cust..ctor()) (OperationKind.ObjectC
...
@@ -1469,7 +1469,7 @@ IObjectCreationExpression (Constructor: Sub cust..ctor()) (OperationKind.ObjectC
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New cust With {.x = !a}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New cust With {.x = !a}')
Arguments
(
1
):
Arguments
(
1
):
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
arg
)
(
OperationKind
.
Argument
)
(
Syntax
:
'a')
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
arg
)
(
OperationKind
.
Argument
)
(
Syntax
:
'a')
ILiteralExpression
(
Text
:
a
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"a"
)
(
Syntax
:
'a')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"a"
)
(
Syntax
:
'a')
InConversion
:
null
InConversion
:
null
OutConversion
:
null
OutConversion
:
null
]]
>
.
Value
]]
>
.
Value
...
@@ -1519,7 +1519,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
...
@@ -1519,7 +1519,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New scen2 W ... .Scen2 = 5}')
Instance
Receiver
:
IOperation
:
(
OperationKind
.
None
)
(
Syntax
:
'New scen2 W ... .Scen2 = 5}')
Right
:
IConversionExpression
(
Implicit
,
TryCast
:
False
,
Unchecked
)
(
OperationKind
.
ConversionExpression
,
Type
:
System
.
Int16
,
Constant
:
5
)
(
Syntax
:
'5')
Right
:
IConversionExpression
(
Implicit
,
TryCast
:
False
,
Unchecked
)
(
OperationKind
.
ConversionExpression
,
Type
:
System
.
Int16
,
Constant
:
5
)
(
Syntax
:
'5')
Conversion
:
CommonConversion
(
Exists
:
False
,
IsIdentity
:
False
,
IsNumeric
:
False
,
IsReference
:
False
,
IsUserDefined
:
False
)
(
MethodSymbol
:
null
)
Conversion
:
CommonConversion
(
Exists
:
False
,
IsIdentity
:
False
,
IsNumeric
:
False
,
IsReference
:
False
,
IsUserDefined
:
False
)
(
MethodSymbol
:
null
)
Operand
:
ILiteralExpression
(
Text
:
5
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
5
)
(
Syntax
:
'5')
Operand
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
5
)
(
Syntax
:
'5')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
String
.
Empty
Dim
expectedDiagnostics
=
String
.
Empty
...
...
src/Compilers/VisualBasic/Test/Semantic/Semantics/AnonymousTypesTests.vb
浏览文件 @
45a2a89b
...
@@ -26,7 +26,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
...
@@ -26,7 +26,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
,
c
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
,
c
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.b = .a')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'.b = .a')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
,
c
As
System
.
Int32
>
.
b
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'b')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
,
c
As
System
.
Int32
>
.
b
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'b')
Instance
Receiver
:
null
Instance
Receiver
:
null
...
@@ -162,7 +162,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
...
@@ -162,7 +162,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
<
anonymous
type
:
c
As
?
>>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
<
anonymous
type
:
c
As
?
>>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
<
anonymous
type
:
c
As
?
>
,
IsInvalid
)
(
Syntax
:
'.b = New With {.c = .a}')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
<
anonymous
type
:
c
As
?
>
,
IsInvalid
)
(
Syntax
:
'.b = New With {.c = .a}')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
<
anonymous
type
:
c
As
?
>>
.
b
As
<
anonymous
type
:
c
As
?
>
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
<
anonymous
type
:
c
As
?
>
)
(
Syntax
:
'b')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
<
anonymous
type
:
c
As
?
>>
.
b
As
<
anonymous
type
:
c
As
?
>
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
<
anonymous
type
:
c
As
?
>
)
(
Syntax
:
'b')
Instance
Receiver
:
null
Instance
Receiver
:
null
...
@@ -241,7 +241,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
...
@@ -241,7 +241,7 @@ IConversionExpression (Implicit, TryCast: False, Unchecked) (OperationKind.Conve
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.c = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.c = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
b
As
?
,
c
As
System
.
Int32
>
.
c
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'c')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
b
As
?
,
c
As
System
.
Int32
>
.
c
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'c')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
...
@@ -428,7 +428,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
...
@@ -428,7 +428,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'.b = .a(Of Integer)')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'.b = .a(Of Integer)')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
>
.
b
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'b')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
b
As
System
.
Int32
>
.
b
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'b')
Instance
Receiver
:
null
Instance
Receiver
:
null
...
@@ -658,7 +658,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
...
@@ -658,7 +658,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
Initializers
(
1
):
Initializers
(
1
):
IBinaryOperatorExpression
(
BinaryOperationKind
.
IntegerMultiply
)
(
OperationKind
.
BinaryOperatorExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a * 2')
IBinaryOperatorExpression
(
BinaryOperationKind
.
IntegerMultiply
)
(
OperationKind
.
BinaryOperatorExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a * 2')
Left
:
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a')
Left
:
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a')
Right
:
ILiteralExpression
(
Text
:
2
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
2
,
IsInvalid
)
(
Syntax
:
'2')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
2
,
IsInvalid
)
(
Syntax
:
'2')
]]
>
.
Value
]]
>
.
Value
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
Dim
expectedDiagnostics
=
<
!
[
CDATA
[
...
@@ -686,7 +686,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
...
@@ -686,7 +686,7 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.a = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
a
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
a
As
System
.
Int32
,
a
As
System
.
Int32
>
.
a
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'a')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a')
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a')
]]
>
.
Value
]]
>
.
Value
...
@@ -747,12 +747,12 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
...
@@ -747,12 +747,12 @@ IAnonymousObjectCreationExpression (OperationKind.AnonymousObjectCreationExpress
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.x = 1')
ISimpleAssignmentExpression
(
OperationKind
.
SimpleAssignmentExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'.x = 1')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
x
As
System
.
Int32
,
x
As
System
.
Int32
>
.
x
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'x')
Left
:
IPropertyReferenceExpression
:
Property
<
anonymous
type
:
x
As
System
.
Int32
,
x
As
System
.
Int32
>
.
x
As
System
.
Int32
(
Static
)
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
)
(
Syntax
:
'x')
Instance
Receiver
:
null
Instance
Receiver
:
null
Right
:
ILiteralExpression
(
Text
:
1
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
Right
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
1
)
(
Syntax
:
'1')
IPropertyReferenceExpression
:
Property
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Item
(
key
As
System
.
String
)
As
System
.
Int32
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a!x')
IPropertyReferenceExpression
:
Property
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
).
Item
(
key
As
System
.
String
)
As
System
.
Int32
(
OperationKind
.
PropertyReferenceExpression
,
Type
:
System
.
Int32
,
IsInvalid
)
(
Syntax
:
'a!x')
Instance
Receiver
:
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
),
IsInvalid
)
(
Syntax
:
'a')
Instance
Receiver
:
ILocalReferenceExpression
:
a
(
OperationKind
.
LocalReferenceExpression
,
Type
:
System
.
Collections
.
Generic
.
Dictionary
(
Of
System
.
String
,
System
.
Int32
),
IsInvalid
)
(
Syntax
:
'a')
Arguments
(
1
):
Arguments
(
1
):
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
key
)
(
OperationKind
.
Argument
,
IsInvalid
)
(
Syntax
:
'x')
IArgument
(
ArgumentKind
.
Explicit
,
Matching
Parameter
:
key
)
(
OperationKind
.
Argument
,
IsInvalid
)
(
Syntax
:
'x')
ILiteralExpression
(
Text
:
x
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"x"
,
IsInvalid
)
(
Syntax
:
'x')
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
String
,
Constant
:
"x"
,
IsInvalid
)
(
Syntax
:
'x')
InConversion
:
null
InConversion
:
null
OutConversion
:
null
OutConversion
:
null
]]
>
.
Value
]]
>
.
Value
...
...
src/Compilers/VisualBasic/Test/Semantic/Semantics/SelectCaseTests.vb
浏览文件 @
45a2a89b
...
@@ -596,7 +596,7 @@ ISwitchStatement (2 cases) (OperationKind.SwitchStatement) (Syntax: 'Select Case
...
@@ -596,7 +596,7 @@ ISwitchStatement (2 cases) (OperationKind.SwitchStatement) (Syntax: 'Select Case
IBlockStatement
(
3
statements
,
1
locals
)
(
OperationKind
.
BlockStatement
)
(
Syntax
:
'Function() 5')
IBlockStatement
(
3
statements
,
1
locals
)
(
OperationKind
.
BlockStatement
)
(
Syntax
:
'Function() 5')
Locals
:
Local_1
:
<
anonymous
local
>
As
System
.
Int32
Locals
:
Local_1
:
<
anonymous
local
>
As
System
.
Int32
IReturnStatement
(
OperationKind
.
ReturnStatement
)
(
Syntax
:
'5')
IReturnStatement
(
OperationKind
.
ReturnStatement
)
(
Syntax
:
'5')
ReturnedValue
:
ILiteralExpression
(
Text
:
5
)
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
5
)
(
Syntax
:
'5')
ReturnedValue
:
ILiteralExpression
(
OperationKind
.
LiteralExpression
,
Type
:
System
.
Int32
,
Constant
:
5
)
(
Syntax
:
'5')
ILabelStatement
(
Label
:
exit
)
(
OperationKind
.
LabelStatement
)
(
Syntax
:
'Function() 5')
ILabelStatement
(
Label
:
exit
)
(
OperationKind
.
LabelStatement
)
(
Syntax
:
'Function() 5')
LabeledStatement
:
null
LabeledStatement
:
null
IReturnStatement
(
OperationKind
.
ReturnStatement
)
(
Syntax
:
'Function() 5')
IReturnStatement
(
OperationKind
.
ReturnStatement
)
(
Syntax
:
'Function() 5')
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录