2 instantiations of UnboundLambda
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Lambda.vb (1)
80Return New UnboundLambda(node, Me, modifiers, parameters, returnType, New UnboundLambda.UnboundLambdaBindingCache(diagnostics.AccumulatesDependencies), hasErrors)
Generated\BoundNodes.xml.Generated.vb (1)
6838Dim result = New UnboundLambda(Me.Syntax, binder, flags, parameters, returnType, bindingCache, Me.HasErrors)
65 references to UnboundLambda
Microsoft.CodeAnalysis.VisualBasic (65)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2389Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
Binding\Binder_Conversions.vb (3)
1205argument = ReclassifyUnboundLambdaExpression(DirectCast(argument, UnboundLambda), conversionSemantics, tree, 1289unboundLambda As UnboundLambda, 1361boundLambda = unboundLambda.GetBoundLambda(New UnboundLambda.TargetSignature(delegateInvoke))
Binding\Binder_Expressions.vb (4)
521expressionType = DirectCast(expression, UnboundLambda).InferredAnonymousDelegate.Key 1426Return ReclassifyUnboundLambdaExpression(DirectCast(expr, UnboundLambda), diagnostics) 1668lambda As UnboundLambda, 4502expressionType = DirectCast(expression, UnboundLambda).InferredAnonymousDelegate.Key
Binding\Binder_Lambda.vb (19)
80Return New UnboundLambda(node, Me, modifiers, parameters, returnType, New UnboundLambda.UnboundLambdaBindingCache(diagnostics.AccumulatesDependencies), hasErrors) 84source As UnboundLambda, 85targetSignature As UnboundLambda.TargetSignature, 152Friend Function BindUnboundLambda(source As UnboundLambda, target As UnboundLambda.TargetSignature) As BoundLambda 201Dim targetForInference As UnboundLambda.TargetSignature = target 204targetForInference = New UnboundLambda.TargetSignature(targetForInference.ParameterTypes, targetForInference.ParameterIsByRef, 767Friend Function InferAnonymousDelegateForLambda(source As UnboundLambda) As KeyValuePair(Of NamedTypeSymbol, ImmutableBindingDiagnostic(Of AssemblySymbol)) 773Dim targetSignature As New UnboundLambda.TargetSignature(ImmutableArray(Of ParameterSymbol).Empty, Compilation.GetSpecialType(SpecialType.System_Void), returnsByRef:=False) 777returnTypeInfo = source.InferReturnType(New UnboundLambda.TargetSignature(StaticCast(Of ParameterSymbol).From(parameters), targetSignature.ReturnType, targetSignature.ReturnsByRef)) 788source As UnboundLambda, 816Friend Function BindLambdaForErrorRecovery(source As UnboundLambda) As BoundLambda 824Dim target As UnboundLambda.TargetSignature = pair.Key 834Dim target As UnboundLambda.TargetSignature = pair.Key 861commonReturnType = source.InferReturnType(New UnboundLambda.TargetSignature(commonParameterTypes.AsImmutableOrNull(), 868New UnboundLambda.TargetSignature(commonParameterTypes.AsImmutableOrNull(), isByRef, commonReturnType, returnsByRef:=False), 886source As UnboundLambda, 887targetParameters As UnboundLambda.TargetSignature 1007Private Shared Function LambdaHeaderErrorNode(source As UnboundLambda) As SyntaxNode
Binding\Binder_Statements.vb (1)
1366inferredType = DirectCast(inferFrom, UnboundLambda).InferredAnonymousDelegate.Key
Binding\MemberSemanticModel.vb (1)
2258Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
BoundTree\BoundNodeExtensions.vb (1)
54Return DirectCast(boundNode, UnboundLambda).Binder
BoundTree\BoundNodeFinder.vb (1)
57Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
Generated\BoundNodes.xml.Generated.vb (12)
6760Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache, hasErrors As Boolean) 6779Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) 6824Private ReadOnly _BindingCache As UnboundLambda.UnboundLambdaBindingCache 6825Public ReadOnly Property BindingCache As UnboundLambda.UnboundLambdaBindingCache 6836Public Function Update(binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) As UnboundLambda 9561Return VisitUnboundLambda(CType(node, UnboundLambda), arg) 10169Public Overridable Function VisitUnboundLambda(node As UnboundLambda, arg As A) As R 10872Public Overridable Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 11742Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 12784Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 14154Public Overrides Function VisitUnboundLambda(node As UnboundLambda, arg As Object) As TreeDumperNode
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
497Public NotOverridable Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
Semantics\Conversions.vb (7)
1052Return ClassifyUnboundLambdaConversion(DirectCast(source, UnboundLambda), destination) 1076Private Shared Function ClassifyUnboundLambdaConversion(source As UnboundLambda, destination As TypeSymbol) As ConversionKind 1122Dim bound As BoundLambda = source.Bind(New UnboundLambda.TargetSignature(delegateInvoke)) 4146Return ClassifyMethodConversionForLambdaOrAnonymousDelegate(New UnboundLambda.TargetSignature(toMethod), lambdaOrDelegateInvokeSymbol, useSiteInfo) 4150toMethodSignature As UnboundLambda.TargetSignature, 4174Return ClassifyMethodConversionForLambdaOrAnonymousDelegateBasedOnParameters(New UnboundLambda.TargetSignature(toDelegateInvokeMethod), parameters, useSiteInfo) 4178toMethodSignature As UnboundLambda.TargetSignature,
Semantics\OverloadResolution.vb (2)
3316Dim unbound = If(underlying.Kind = BoundKind.UnboundLambda, DirectCast(underlying, UnboundLambda), Nothing) 3325Dim bound As BoundLambda = unbound.GetBoundLambda(New UnboundLambda.TargetSignature(delegateInvoke))
Semantics\TypeInference\TypeArgumentInference.vb (8)
450Dim unboundLambda = DirectCast(Expression, UnboundLambda) 1208lambdaParameters = DirectCast(argNode.Expression, UnboundLambda).Parameters 2005Dim inferredAnonymousDelegate As KeyValuePair(Of NamedTypeSymbol, ImmutableBindingDiagnostic(Of AssemblySymbol)) = DirectCast(argument, UnboundLambda).InferredAnonymousDelegate 2073lambdaParams = DirectCast(argument, UnboundLambda).Parameters 2140Dim unboundLambda = DirectCast(argument, UnboundLambda) 2143Dim inferenceSignature As New UnboundLambda.TargetSignature(delegateParams, unboundLambda.Binder.Compilation.GetSpecialType(SpecialType.System_Void), returnsByRef:=False) 2160Dim boundLambda As BoundLambda = unboundLambda.Bind(New UnboundLambda.TargetSignature(inferenceSignature.ParameterTypes, 2224Dim boundLambda As BoundLambda = unboundLambda.Bind(New UnboundLambda.TargetSignature(delegateParams,
Symbols\Source\SourceLambdaSymbol.vb (4)
12Private ReadOnly _unboundLambda As UnboundLambda 19unboundLambda As UnboundLambda, 32Public ReadOnly Property UnboundLambda As UnboundLambda 69Dim targetSignature As New UnboundLambda.TargetSignature(anonymousDelegateSymbol.DelegateInvokeMethod)