Update BoundDelegateCreation case to never be explicit.

上级 1fa39cf7
......@@ -657,7 +657,9 @@ Namespace Microsoft.CodeAnalysis.Semantics
Dim syntax As SyntaxNode = boundDelegateCreationExpression.Syntax
Dim type As ITypeSymbol = boundDelegateCreationExpression.Type
Dim constantValue As [Optional](Of Object) = ConvertToOptional(boundDelegateCreationExpression.ConstantValueOpt)
Dim isImplicit As Boolean = boundDelegateCreationExpression.WasCompilerGenerated OrElse boundDelegateCreationExpression.Syntax.Kind() = SyntaxKind.AddressOfExpression
' The operand for this is going to be using the same syntax node as this, and since that node can be Explicit, this node cannot be.
Dim isImplicit As Boolean = True
Dim target As Lazy(Of IOperation) = New Lazy(Of IOperation)(Function() CreateBoundDelegateCreationExpressionChildOperation(boundDelegateCreationExpression))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册