25 instantiations of BoundMethodGroup
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\Binder_Attributes.vb (1)
286
Dim constructorsGroup = New
BoundMethodGroup
(node.Name, Nothing, accessibleConstructors, LookupResultKind.Good, Nothing, QualificationKind.QualifiedViaTypeName)
Binding\Binder_Conversions.vb (1)
1444
Dim methodGroup = New
BoundMethodGroup
(unboundLambda.Syntax,
Binding\Binder_Delegates.vb (1)
1108
Dim methodGroup = New
BoundMethodGroup
(methodGroupSyntax,
Binding\Binder_Expressions.vb (1)
2823
Return New
BoundMethodGroup
(node, Nothing, accessibleConstructors, LookupResultKind.Good, left,
Binding\Binder_Invocation.vb (2)
40
Return New
BoundMethodGroup
(
304
Dim methodGroup = New
BoundMethodGroup
(
Binding\Binder_ObjectInitializer.vb (2)
121
New
BoundMethodGroup
(typeNode, Nothing,
366
constructorsGroup = New
BoundMethodGroup
(typeNode, Nothing,
Binding\Binder_Operators.vb (3)
573
New
BoundMethodGroup
(node, Nothing,
722
New
BoundMethodGroup
(node, Nothing,
1224
New
BoundMethodGroup
(node, Nothing,
Binding\Binder_Statements.vb (3)
2558
Dim methodGroup = New
BoundMethodGroup
(node,
3872
methodOrPropertyGroup = New
BoundMethodGroup
(collectionSyntax,
3895
methodOrPropertyGroup = New
BoundMethodGroup
(collectionSyntax,
Binding\Binder_XmlLiterals.vb (1)
986
group = New
BoundMethodGroup
(syntax,
BoundTree\BoundMethodGroup.vb (1)
25
Me.
New
(syntax, typeArgumentsOpt, methods, Nothing, resultKind, receiverOpt, qualificationKind, hasErrors)
Compilation\MethodCompiler.vb (1)
2052
Dim group As New
BoundMethodGroup
(constructor.Syntax,
Generated\BoundNodes.xml.Generated.vb (1)
2710
Dim result = New
BoundMethodGroup
(Me.Syntax, typeArgumentsOpt, methods, pendingExtensionMethodsOpt, resultKind, receiverOpt, qualificationKind, Me.HasErrors)
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
555
group = New
BoundMethodGroup
(Me.F.Syntax,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
839
group = New
BoundMethodGroup
(Me._factory.Syntax,
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
113
Dim methodGroup = New
BoundMethodGroup
(node.Syntax, Nothing, lookup.Symbols.ToDowncastedImmutable(Of MethodSymbol), lookup.Kind, Nothing, QualificationKind.QualifiedViaTypeName).MakeCompilerGenerated()
Semantics\Operators.vb (1)
3239
Dim methodGroup = New
BoundMethodGroup
(argument1.Syntax, Nothing, ImmutableArray(Of MethodSymbol).Empty, LookupResultKind.Good, Nothing, QualificationKind.Unqualified)
Symbols\Source\SourceMemberMethodSymbol.vb (1)
811
Dim syntheticMethodGroup = New
BoundMethodGroup
(
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
75
New
BoundMethodGroup
(syntaxNode, Nothing, ImmutableArray.Create(runMethod), LookupResultKind.Good, Nothing, QualificationKind.QualifiedViaTypeName),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\OverloadResolution.vb (1)
46
Dim methodGroup = New
BoundMethodGroup
(VisualBasicSyntaxTree.Dummy.GetRoot(Nothing),
78 references to BoundMethodGroup
Microsoft.CodeAnalysis.VisualBasic (77)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1154
Dim methodGroup As
BoundMethodGroup
= node.MethodGroupOpt
1268
Dim methodGroup As
BoundMethodGroup
= node.MethodGroupOpt
2347
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
Binding\Binder_Delegates.vb (2)
64
Dim group = DirectCast(boundOperand,
BoundMethodGroup
)
1144
methodGroup As
BoundMethodGroup
,
Binding\Binder_Expressions.vb (3)
707
Dim group = DirectCast(argument,
BoundMethodGroup
)
890
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
4711
Dim methodGroup As
BoundMethodGroup
= Nothing
Binding\Binder_Invocation.vb (8)
27
) As
BoundMethodGroup
105
Private Function BindDirectConstructorCall(node As InvocationExpressionSyntax, group As
BoundMethodGroup
, diagnostics As BindingDiagnosticBag) As BoundExpression
181
Dim group = DirectCast(target,
BoundMethodGroup
)
594
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
714
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
763
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
930
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
1449
Dim mg = DirectCast(groupOpt,
BoundMethodGroup
)
Binding\Binder_ObjectInitializer.vb (2)
350
Dim constructorsGroup As
BoundMethodGroup
= Nothing
908
Dim methodGroup As
BoundMethodGroup
= CreateBoundMethodGroup(topLevelInitializer,
Binding\Binder_Query.vb (7)
1685
Dim methodGroup As
BoundMethodGroup
= Nothing
1769
Dim methodGroup As
BoundMethodGroup
= Nothing
1948
<Out()> ByRef methodGroup As
BoundMethodGroup
,
2024
<Out()> ByRef methodGroup As
BoundMethodGroup
,
4555
) As
BoundMethodGroup
4560
Dim methodGroup As
BoundMethodGroup
= Nothing
4629
methodGroup As
BoundMethodGroup
,
Binding\EarlyWellKnownAttributeBinder.vb (1)
178
Dim boundMethodGroup = TryCast(boundExpression,
BoundMethodGroup
)
Binding\MemberSemanticModel.vb (2)
2267
Dim boundGroup As
BoundMethodGroup
= node.MethodGroupOpt
2384
Dim boundGroup As
BoundMethodGroup
= node.MethodGroupOpt
BoundTree\BoundCall.vb (2)
15
methodGroupOpt As
BoundMethodGroup
,
34
methodGroupOpt As
BoundMethodGroup
,
BoundTree\BoundExpressionExtensions.vb (3)
558
Public Sub GetExpressionSymbols(methodGroup As
BoundMethodGroup
, symbols As ArrayBuilder(Of Symbol))
591
DirectCast(node,
BoundMethodGroup
).GetExpressionSymbols(symbols)
655
Dim asMethodGroup = TryCast(this,
BoundMethodGroup
)
BoundTree\BoundMethodGroup.vb (1)
54
Public Function LazyLookupAdditionalExtensionMethods(group As
BoundMethodGroup
, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of MethodSymbol)
BoundTree\BoundMethodOrPropertyGroup.vb (2)
20
Dim methods = DirectCast(Me,
BoundMethodGroup
).Methods
45
Return DirectCast(Me,
BoundMethodGroup
).Methods(0).ContainingType
BoundTree\BoundTreeVisitor.vb (1)
54
Return VisitMethodGroup(CType(node,
BoundMethodGroup
), arg)
Compilation\SemanticModel.vb (2)
1148
Dim group = DirectCast(child,
BoundMethodGroup
)
1275
Dim methodGroup = DirectCast(boundNodes.LowestBoundNode,
BoundMethodGroup
)
Generated\BoundNodes.xml.Generated.vb (28)
1857
Public Sub New(syntax As SyntaxNode, binder As Binder, withDependencies As Boolean, methodGroup As
BoundMethodGroup
, Optional hasErrors As Boolean = False)
1883
Private ReadOnly _MethodGroup As
BoundMethodGroup
1884
Public ReadOnly Property MethodGroup As
BoundMethodGroup
1895
Public Function Update(binder As Binder, withDependencies As Boolean, methodGroup As
BoundMethodGroup
) As BoundAddressOfOperator
2708
Public Function Update(typeArgumentsOpt As BoundTypeArguments, methods As ImmutableArray(Of MethodSymbol), pendingExtensionMethodsOpt As ExtensionMethodGroup, resultKind As LookupResultKind, receiverOpt As BoundExpression, qualificationKind As QualificationKind) As
BoundMethodGroup
3017
Public Sub New(syntax As SyntaxNode, method As MethodSymbol, methodGroupOpt As
BoundMethodGroup
, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
3047
Private ReadOnly _MethodGroupOpt As
BoundMethodGroup
3048
Public ReadOnly Property MethodGroupOpt As
BoundMethodGroup
3101
Public Function Update(method As MethodSymbol, methodGroupOpt As
BoundMethodGroup
, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol) As BoundCall
3498
Public Sub New(syntax As SyntaxNode, constructorOpt As MethodSymbol, methodGroupOpt As
BoundMethodGroup
, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False)
3523
Private ReadOnly _MethodGroupOpt As
BoundMethodGroup
3524
Public ReadOnly Property MethodGroupOpt As
BoundMethodGroup
3549
Public Function Update(constructorOpt As MethodSymbol, methodGroupOpt As
BoundMethodGroup
, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundObjectCreationExpression
3870
Public 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)
3912
Private ReadOnly _MethodGroupOpt As
BoundMethodGroup
3913
Public ReadOnly Property MethodGroupOpt As
BoundMethodGroup
3924
Public Function Update(receiverOpt As BoundExpression, method As MethodSymbol, relaxationLambdaOpt As BoundLambda, relaxationReceiverPlaceholderOpt As BoundRValuePlaceholder, methodGroupOpt As
BoundMethodGroup
, type As TypeSymbol) As BoundDelegateCreationExpression
9407
Return VisitMethodGroup(CType(node,
BoundMethodGroup
), arg)
9861
Public Overridable Function VisitMethodGroup(node As
BoundMethodGroup
, arg As A) As R
10564
Public Overridable Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
11315
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
12222
Dim methodGroup As
BoundMethodGroup
= DirectCast(Me.Visit(node.MethodGroup),
BoundMethodGroup
)
12310
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
12355
Dim methodGroupOpt As
BoundMethodGroup
= node.MethodGroupOpt
12405
Dim methodGroupOpt As
BoundMethodGroup
= node.MethodGroupOpt
12460
Dim methodGroupOpt As
BoundMethodGroup
= node.MethodGroupOpt
13500
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
542
typeArgs As ImmutableArray(Of TypeSymbol)) As
BoundMethodGroup
544
Dim group As
BoundMethodGroup
= Nothing
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
822
Private Function GetExprFactoryMethodGroup(methodName As String, typeArgs As ImmutableArray(Of TypeSymbol)) As
BoundMethodGroup
823
Dim group As
BoundMethodGroup
= Nothing
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
540
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
Lowering\LocalRewriter\LocalRewriter.vb (1)
668
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
613
Public NotOverridable Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode
Semantics\OverloadResolution.vb (3)
817
Dim methodGroup = DirectCast(group,
BoundMethodGroup
)
845
methodGroup As
BoundMethodGroup
,
869
methodGroup As
BoundMethodGroup
,
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Rewriters\MayHaveSideEffectsVisitor.vb (1)
51
Public Overrides Function VisitMethodGroup(node As
BoundMethodGroup
) As BoundNode