110 references to BoundLambda
Microsoft.CodeAnalysis.VisualBasic (110)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1039Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 2406Dim boundLambda As BoundLambda = node.BindForErrorRecovery()
Analysis\FlowAnalysis\AbstractRegionControlFlowPass.vb (1)
30Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Analysis\FlowAnalysis\AbstractRegionDataFlowPass.vb (1)
29Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1693Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Analysis\FlowAnalysis\ReadWriteWalker.vb (1)
180Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (1)
52Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Binding\Binder_Conversions.vb (4)
998Dim boundLambdaOpt As BoundLambda = Nothing 1371Dim boundLambda As BoundLambda = Nothing 1392Dim errorRecovery As BoundLambda = unboundLambda.BindForErrorRecovery() 1416Dim relaxationLambdaOpt As BoundLambda = Nothing
Binding\Binder_Delegates.vb (4)
974Dim boundLambda As BoundLambda = Nothing 1078) As BoundLambda 1146) As BoundLambda 1245DirectCast(receiver.Operand, BoundLambda).LambdaSymbol.IsAsync AndAlso
Binding\Binder_Lambda.vb (5)
152Friend Function BindUnboundLambda(source As UnboundLambda, target As UnboundLambda.TargetSignature) As BoundLambda 360Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 645Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 816Friend Function BindLambdaForErrorRecovery(source As UnboundLambda) As BoundLambda 1049Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Binding\Binder_Statements.vb (2)
615Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 3682Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Binding\MemberSemanticModel.vb (5)
133Dim sourceLambda = TryCast(DirectCast(boundExpression, BoundLambda).LambdaSymbol, SourceLambdaSymbol) 524Dim boundlambda = TryCast(GetLowerBoundNode(lambdaSyntax), BoundLambda) 1765Dim boundLambda As BoundLambda = GetBoundLambda(lambda) 1774Private Function GetBoundLambda(lambda As LambdaExpressionSyntax) As BoundLambda 1777Return DirectCast(boundNode, BoundLambda)
BoundTree\BoundDirectCast.vb (1)
27relaxationLambdaOpt As BoundLambda,
BoundTree\BoundTreeVisitor.vb (1)
114Return VisitLambda(CType(node, BoundLambda), arg)
BoundTree\BoundTryCast.vb (1)
26relaxationLambdaOpt As BoundLambda,
BoundTree\UnboundLambda.vb (7)
50Public Function Bind(target As TargetSignature) As BoundLambda 52Dim result As BoundLambda = _BindingCache.BoundLambdas.GetOrAdd(target, AddressOf DoBind) 77Public Function BindForErrorRecovery() As BoundLambda 81Public Function GetBoundLambda(target As TargetSignature) As BoundLambda 82Dim result As BoundLambda = Nothing 91Private Function DoBind(target As TargetSignature) As BoundLambda 221Public ReadOnly BoundLambdas As New ConcurrentDictionary(Of TargetSignature, BoundLambda)()
Generated\BoundNodes.xml.Generated.vb (31)
2178Public Sub New(syntax As SyntaxNode, lambda As BoundLambda, receiverPlaceholderOpt As BoundRValuePlaceholder, Optional hasErrors As Boolean = False) 2188Private ReadOnly _Lambda As BoundLambda 2189Public ReadOnly Property Lambda As BoundLambda 2207Public Function Update(lambda As BoundLambda, receiverPlaceholderOpt As BoundRValuePlaceholder) As BoundRelaxationLambda 2316Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, suppressVirtualCalls As Boolean, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol, Optional hasErrors As Boolean = False) 2363Private ReadOnly _RelaxationLambdaOpt As BoundLambda 2364Public ReadOnly Property RelaxationLambdaOpt As BoundLambda 2375Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, suppressVirtualCalls As Boolean, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol) As BoundDirectCast 2388Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol, Optional hasErrors As Boolean = False) 2427Private ReadOnly _RelaxationLambdaOpt As BoundLambda 2428Public ReadOnly Property RelaxationLambdaOpt As BoundLambda 2439Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol) As BoundTryCast 3889Public Sub New(syntax As SyntaxNode, receiverOpt As BoundExpression, method As MethodSymbol, relaxationLambdaOpt As BoundLambda, relaxationReceiverPlaceholderOpt As BoundRValuePlaceholder, methodGroupOpt As BoundMethodGroup, type As TypeSymbol, Optional hasErrors As Boolean = False) 3917Private ReadOnly _RelaxationLambdaOpt As BoundLambda 3918Public ReadOnly Property RelaxationLambdaOpt As BoundLambda 3943Public Function Update(receiverOpt As BoundExpression, method As MethodSymbol, relaxationLambdaOpt As BoundLambda, relaxationReceiverPlaceholderOpt As BoundRValuePlaceholder, methodGroupOpt As BoundMethodGroup, type As TypeSymbol) As BoundDelegateCreationExpression 6942Public Function Update(lambdaSymbol As LambdaSymbol, body As BoundBlock, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol), lambdaBinderOpt As LambdaBodyBinder, delegateRelaxation As ConversionKind, methodConversionKind As MethodConversionKind) As BoundLambda 9597Return VisitLambda(CType(node, BoundLambda), arg) 10207Public Overridable Function VisitLambda(node As BoundLambda, arg As A) As R 10910Public Overridable Function VisitLambda(node As BoundLambda) As BoundNode 11780Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 12286Dim lambda As BoundLambda = DirectCast(Me.Visit(node.Lambda), BoundLambda) 12305Dim relaxationLambdaOpt As BoundLambda = DirectCast(Me.Visit(node.RelaxationLambdaOpt), BoundLambda) 12312Dim relaxationLambdaOpt As BoundLambda = DirectCast(Me.Visit(node.RelaxationLambdaOpt), BoundLambda) 12492Dim relaxationLambdaOpt As BoundLambda = DirectCast(Me.Visit(node.RelaxationLambdaOpt), BoundLambda) 12824Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 14202Public Overrides Function VisitLambda(node As BoundLambda, arg As Object) As TreeDumperNode
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (4)
191Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 296Private Sub VisitLambdaConversion(operand As BoundExpression, relaxationLambda As BoundLambda) 300If operand.Kind = BoundKind.Lambda AndAlso Not CheckLambdaForByRefParameters(DirectCast(operand, BoundLambda)) AndAlso relaxationLambda IsNot Nothing Then 307Private Function CheckLambdaForByRefParameters(lambda As BoundLambda) As Boolean
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (4)
99Friend Shared Function RewriteLambda(node As BoundLambda, 234Return VisitLambda(DirectCast(node, BoundLambda)) 322Private Function VisitLambdaInternal(node As BoundLambda, delegateType As NamedTypeSymbol) As BoundExpression 451Private Function VisitLambda(node As BoundLambda) As BoundExpression
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (2)
92Return ConvertLambda(DirectCast(operand, BoundLambda), typeTo) 111Private Function ConvertLambda(node As BoundLambda, type As TypeSymbol) As BoundExpression
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (8)
297Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode 301Private Overloads Function VisitLambda(node As BoundLambda, convertToExpressionTree As Boolean) As BoundNode 341Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda) 352Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda) 363Dim lambda As BoundLambda = TryCast(conversion.Operand, BoundLambda)
Lowering\LambdaRewriter\LambdaRewriter.vb (9)
896lambda As BoundLambda, 930Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda) 945Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda) 960Dim lambda As BoundLambda = TryCast(conversion.Operand, BoundLambda) 1063Private Function RewriteLambda(node As BoundLambda, type As TypeSymbol, convertToExpressionTree As Boolean) As BoundExpression 1303Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (1)
53lambdaNode As BoundLambda,
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (3)
232Dim relaxationLambda As BoundLambda = DirectCast(node.ExtendedInfoOpt, BoundRelaxationLambda).Lambda 302Dim fromLambda As LambdaSymbol = TryCast(from, BoundLambda)?.LambdaSymbol 324Dim lambdaOpt As BoundLambda
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
36Dim relaxationLambda = DirectCast(Me.Visit(node.RelaxationLambdaOpt), BoundLambda)
Lowering\LocalRewriter\LocalRewriter_Lambda.vb (1)
14Public Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Lowering\LocalRewriter\LocalRewriter_Query.vb (3)
67Dim result As BoundLambda = RewriteQueryLambda(returnstmt, node) 198Friend Shared Function RewriteQueryLambda(rewrittenBody As BoundStatement, originalNode As BoundQueryLambda) As BoundLambda 204Dim result As BoundLambda = New BoundLambda(originalNode.Syntax,
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
542Public NotOverridable Overrides Function VisitLambda(node As BoundLambda) As BoundNode
Semantics\Conversions.vb (1)
1126Dim bound As BoundLambda = source.Bind(New UnboundLambda.TargetSignature(delegateInvoke))
Semantics\OverloadResolution.vb (1)
3325Dim bound As BoundLambda = unbound.GetBoundLambda(New UnboundLambda.TargetSignature(delegateInvoke))
Semantics\TypeInference\TypeArgumentInference.vb (2)
2147Dim boundLambda As BoundLambda = unboundLambda.Bind(New UnboundLambda.TargetSignature(inferenceSignature.ParameterTypes, 2203Dim boundLambda As BoundLambda = unboundLambda.Bind(New UnboundLambda.TargetSignature(delegateParams,
Symbols\Source\SourceLambdaSymbol.vb (1)
70Dim boundLambda As BoundLambda = Me._unboundLambda.Bind(targetSignature)