Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
a372c397
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,发现更多精彩内容 >>
未验证
提交
a372c397
编写于
8月 22, 2017
作者:
F
Fredric Silberberg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix merge renaming.
上级
e3df22ac
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
src/Compilers/VisualBasic/Portable/Operations/VisualBasicOperationFactory.vb
...lBasic/Portable/Operations/VisualBasicOperationFactory.vb
+7
-7
未找到文件。
src/Compilers/VisualBasic/Portable/Operations/VisualBasicOperationFactory.vb
浏览文件 @
a372c397
...
...
@@ -288,7 +288,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
End
Function
Private
Function
CreateBoundMeReferenceOperation
(
boundMeReference
As
BoundMeReference
)
As
IInstanceReferenceExpression
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
If
(
boundMeReference
.
WasCompilerGenerated
,
instanceReferenceKind
.
Implicit
,
i
nstanceReferenceKind
.
Explicit
)
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
If
(
boundMeReference
.
WasCompilerGenerated
,
InstanceReferenceKind
.
Implicit
,
I
nstanceReferenceKind
.
Explicit
)
Dim
syntax
As
SyntaxNode
=
boundMeReference
.
Syntax
Dim
type
As
ITypeSymbol
=
boundMeReference
.
Type
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
ConvertToOptional
(
boundMeReference
.
ConstantValueOpt
)
...
...
@@ -297,7 +297,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
End
Function
Private
Function
CreateBoundMyBaseReferenceOperation
(
boundMyBaseReference
As
BoundMyBaseReference
)
As
IInstanceReferenceExpression
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
i
nstanceReferenceKind
.
BaseClass
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
I
nstanceReferenceKind
.
BaseClass
Dim
syntax
As
SyntaxNode
=
boundMyBaseReference
.
Syntax
Dim
type
As
ITypeSymbol
=
boundMyBaseReference
.
Type
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
ConvertToOptional
(
boundMyBaseReference
.
ConstantValueOpt
)
...
...
@@ -306,7 +306,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
End
Function
Private
Function
CreateBoundMyClassReferenceOperation
(
boundMyClassReference
As
BoundMyClassReference
)
As
IInstanceReferenceExpression
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
i
nstanceReferenceKind
.
ThisClass
Dim
instanceReferenceKind
As
InstanceReferenceKind
=
I
nstanceReferenceKind
.
ThisClass
Dim
syntax
As
SyntaxNode
=
boundMyClassReference
.
Syntax
Dim
type
As
ITypeSymbol
=
boundMyClassReference
.
Type
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
ConvertToOptional
(
boundMyClassReference
.
ConstantValueOpt
)
...
...
@@ -472,7 +472,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
End
Function
Private
Function
CreateBoundUserDefinedShortCircuitingOperatorOperation
(
boundUserDefinedShortCircuitingOperator
As
BoundUserDefinedShortCircuitingOperator
)
As
IBinaryOperatorExpression
Dim
binaryOperationKind
As
BinaryOperationKind
=
If
((
boundUserDefinedShortCircuitingOperator
.
BitwiseOperator
.
OperatorKind
And
BinaryOperatorKind
.
And
)
<>
0
,
binaryOperationKind
.
OperatorMethodConditionalAnd
,
b
inaryOperationKind
.
OperatorMethodConditionalOr
)
Dim
binaryOperationKind
As
BinaryOperationKind
=
If
((
boundUserDefinedShortCircuitingOperator
.
BitwiseOperator
.
OperatorKind
And
BinaryOperatorKind
.
And
)
<>
0
,
BinaryOperationKind
.
OperatorMethodConditionalAnd
,
B
inaryOperationKind
.
OperatorMethodConditionalOr
)
Dim
leftOperand
As
Lazy
(
Of
IOperation
)
=
New
Lazy
(
Of
IOperation
)(
Function
()
Create
(
boundUserDefinedShortCircuitingOperator
.
LeftOperand
))
Dim
rightOperand
As
Lazy
(
Of
IOperation
)
=
New
Lazy
(
Of
IOperation
)(
Function
()
Create
(
boundUserDefinedShortCircuitingOperator
.
BitwiseOperator
.
Right
))
Dim
usesOperatorMethod
As
Boolean
=
True
...
...
@@ -1075,7 +1075,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
Private
Function
CreateBoundGotoStatementOperation
(
boundGotoStatement
As
BoundGotoStatement
)
As
IBranchStatement
Dim
target
As
ILabelSymbol
=
boundGotoStatement
.
Label
Dim
branchKind
As
BranchKind
=
b
ranchKind
.
GoTo
Dim
branchKind
As
BranchKind
=
B
ranchKind
.
GoTo
Dim
syntax
As
SyntaxNode
=
boundGotoStatement
.
Syntax
Dim
type
As
ITypeSymbol
=
Nothing
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
New
[
Optional
]
(
Of
Object
)()
...
...
@@ -1085,7 +1085,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
Private
Function
CreateBoundContinueStatementOperation
(
boundContinueStatement
As
BoundContinueStatement
)
As
IBranchStatement
Dim
target
As
ILabelSymbol
=
boundContinueStatement
.
Label
Dim
branchKind
As
BranchKind
=
b
ranchKind
.
Continue
Dim
branchKind
As
BranchKind
=
B
ranchKind
.
Continue
Dim
syntax
As
SyntaxNode
=
boundContinueStatement
.
Syntax
Dim
type
As
ITypeSymbol
=
Nothing
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
New
[
Optional
]
(
Of
Object
)()
...
...
@@ -1095,7 +1095,7 @@ Namespace Microsoft.CodeAnalysis.Semantics
Private
Function
CreateBoundExitStatementOperation
(
boundExitStatement
As
BoundExitStatement
)
As
IBranchStatement
Dim
target
As
ILabelSymbol
=
boundExitStatement
.
Label
Dim
branchKind
As
BranchKind
=
b
ranchKind
.
Break
Dim
branchKind
As
BranchKind
=
B
ranchKind
.
Break
Dim
syntax
As
SyntaxNode
=
boundExitStatement
.
Syntax
Dim
type
As
ITypeSymbol
=
Nothing
Dim
constantValue
As
[
Optional
]
(
Of
Object
)
=
New
[
Optional
]
(
Of
Object
)()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录