提交 a3a0ef6f 编写于 作者: M Manish Vasani

Address one more piece of PR feedback

上级 fbfa6ab6
......@@ -948,7 +948,9 @@ Namespace Microsoft.CodeAnalysis.Semantics
Dim body As Lazy(Of IOperation) = New Lazy(Of IOperation)(Function() Create(boundForToStatement.Body))
Dim nextVariables As Lazy(Of ImmutableArray(Of IOperation)) = New Lazy(Of ImmutableArray(Of IOperation))(
Function()
Return boundForToStatement.NextVariablesOpt.NullToEmpty.Select(Function(n) Create(n)).ToImmutableArray
Return If(boundForToStatement.NextVariablesOpt.IsDefault,
ImmutableArray(Of IOperation).Empty,
boundForToStatement.NextVariablesOpt.SelectAsArray(Function(n) Create(n)))
End Function)
Dim syntax As SyntaxNode = boundForToStatement.Syntax
Dim type As ITypeSymbol = Nothing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册