65 references to UnboundLambda
Microsoft.CodeAnalysis.VisualBasic (65)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2405Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
Binding\Binder_Conversions.vb (3)
1218argument = ReclassifyUnboundLambdaExpression(DirectCast(argument, UnboundLambda), conversionSemantics, tree, 1302unboundLambda As UnboundLambda, 1374boundLambda = unboundLambda.GetBoundLambda(New UnboundLambda.TargetSignature(delegateInvoke))
Binding\Binder_Expressions.vb (4)
542expressionType = DirectCast(expression, UnboundLambda).InferredAnonymousDelegate.Key 1451Return ReclassifyUnboundLambdaExpression(DirectCast(expr, UnboundLambda), diagnostics) 1693lambda As UnboundLambda, 4529expressionType = 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, ReadOnlyBindingDiagnostic(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)
1395inferredType = 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)
6786Public 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) 6805Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) 6850Private ReadOnly _BindingCache As UnboundLambda.UnboundLambdaBindingCache 6851Public ReadOnly Property BindingCache As UnboundLambda.UnboundLambdaBindingCache 6862Public Function Update(binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) As UnboundLambda 9595Return VisitUnboundLambda(CType(node, UnboundLambda), arg) 10203Public Overridable Function VisitUnboundLambda(node As UnboundLambda, arg As A) As R 10906Public Overridable Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 11776Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 12818Public Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode 14191Public Overrides Function VisitUnboundLambda(node As UnboundLambda, arg As Object) As TreeDumperNode
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
498Public NotOverridable Overrides Function VisitUnboundLambda(node As UnboundLambda) As BoundNode
Semantics\Conversions.vb (7)
1056Return ClassifyUnboundLambdaConversion(DirectCast(source, UnboundLambda), destination) 1080Private Shared Function ClassifyUnboundLambdaConversion(source As UnboundLambda, destination As TypeSymbol) As ConversionKind 1126Dim bound As BoundLambda = source.Bind(New UnboundLambda.TargetSignature(delegateInvoke)) 4151Return ClassifyMethodConversionForLambdaOrAnonymousDelegate(New UnboundLambda.TargetSignature(toMethod), lambdaOrDelegateInvokeSymbol, useSiteInfo) 4155toMethodSignature As UnboundLambda.TargetSignature, 4179Return ClassifyMethodConversionForLambdaOrAnonymousDelegateBasedOnParameters(New UnboundLambda.TargetSignature(toDelegateInvokeMethod), parameters, useSiteInfo) 4183toMethodSignature 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) 1204lambdaParameters = DirectCast(argNode.Expression, UnboundLambda).Parameters 2001Dim inferredAnonymousDelegate As KeyValuePair(Of NamedTypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) = DirectCast(argument, UnboundLambda).InferredAnonymousDelegate 2069lambdaParams = DirectCast(argument, UnboundLambda).Parameters 2131Dim unboundLambda = DirectCast(argument, UnboundLambda) 2134Dim inferenceSignature As New UnboundLambda.TargetSignature(delegateParams, unboundLambda.Binder.Compilation.GetSpecialType(SpecialType.System_Void), returnsByRef:=False) 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 (4)
12Private ReadOnly _unboundLambda As UnboundLambda 19unboundLambda As UnboundLambda, 32Public ReadOnly Property UnboundLambda As UnboundLambda 69Dim targetSignature As New UnboundLambda.TargetSignature(anonymousDelegateSymbol.DelegateInvokeMethod)