2 overrides of DelegateInvokeMethod
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (1)
162
Public Overrides ReadOnly Property
DelegateInvokeMethod
As MethodSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (1)
153
Public Overrides ReadOnly Property
DelegateInvokeMethod
As MethodSymbol
72 references to DelegateInvokeMethod
Microsoft.CodeAnalysis.VisualBasic (59)
Binding\Binder_Conversions.vb (6)
992
Dim methodToConvert As MethodSymbol = DirectCast(sourceType, NamedTypeSymbol).
DelegateInvokeMethod
1008
DirectCast(targetType, NamedTypeSymbol).
DelegateInvokeMethod
,
1336
delegateInvoke = targetDelegateType.
DelegateInvokeMethod
1446
ImmutableArray.Create(anonymousDelegateType.
DelegateInvokeMethod
),
1512
Dim invoke As MethodSymbol = targetDelegateType.
DelegateInvokeMethod
1553
Dim delegateInvoke As MethodSymbol = targetDelegateType.
DelegateInvokeMethod
Binding\Binder_Delegates.vb (2)
242
Dim delegateInvoke = DirectCast(targetType, NamedTypeSymbol).
DelegateInvokeMethod
1023
DirectCast(targetType, NamedTypeSymbol).
DelegateInvokeMethod
,
Binding\Binder_Invocation.vb (2)
292
Dim delegateInvoke = DirectCast(targetType, NamedTypeSymbol).
DelegateInvokeMethod
2606
Dim invoke As MethodSymbol = targetDelegateType.
DelegateInvokeMethod
Binding\Binder_Query.vb (4)
1997
groupType = resultSelector.DelegateOrExpressionDelegate(Me).
DelegateInvokeMethod
.Parameters(1).Type
2072
groupType = resultSelectorDelegate.
DelegateInvokeMethod
.Parameters(1).Type
4527
Dim invoke As MethodSymbol = delegateType.
DelegateInvokeMethod
4680
Dim delegateReturnType As TypeSymbol = DirectCast(boundCall, BoundCall).Method.Parameters(i).Type.DelegateOrExpressionDelegate(Me).
DelegateInvokeMethod
.ReturnType
Binding\Binder_Statements.vb (2)
2479
If eventType Is Nothing OrElse eventType.
DelegateInvokeMethod
Is Nothing Then
2491
fireMethod = eventType.
DelegateInvokeMethod
Binding\BinderFactory.vb (1)
387
Dim invokeSymbol = containingType.
DelegateInvokeMethod
Binding\DocumentationCommentParamBinder.vb (1)
31
Dim method As MethodSymbol = namedType.
DelegateInvokeMethod
Compilation\ClsComplianceChecker.vb (2)
187
CheckParameterCompliance(symbol.
DelegateInvokeMethod
.Parameters, symbol)
306
Dim invokeMethod = DirectCast(symbol, NamedTypeSymbol).
DelegateInvokeMethod
Compilation\DocumentationComments\DocumentationCommentCompiler.Event.vb (1)
74
Dim invokeMethod As MethodSymbol = delegateType.
DelegateInvokeMethod
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
121
Dim invokeMethod As MethodSymbol = namedType.
DelegateInvokeMethod
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (1)
98
Dim delegateInvoke As MethodSymbol = namedType.
DelegateInvokeMethod
Compilation\SyntaxTreeSemanticModel.vb (3)
1070
Return GetParameterSymbol(type.
DelegateInvokeMethod
.Parameters, parameter)
1081
If typeSymbol.
DelegateInvokeMethod
IsNot Nothing Then
1082
Return GetParameterSymbol(typeSymbol.
DelegateInvokeMethod
.Parameters, parameter)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
341
DirectCast(node.Operand.Type, NamedTypeSymbol).
DelegateInvokeMethod
,
352
DirectCast(node.Operand.Type, NamedTypeSymbol).
DelegateInvokeMethod
,
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
35
Dim delegateInvoke = targetType.
DelegateInvokeMethod
Semantics\Conversions.vb (6)
1095
delegateInvoke = anonymousDelegateInfo.Key.
DelegateInvokeMethod
1100
delegateType.
DelegateInvokeMethod
,
1375
Dim invoke As MethodSymbol = delegateDestination.
DelegateInvokeMethod
1535
Dim invoke As MethodSymbol = delegateType.
DelegateInvokeMethod
2947
Dim delegateInvoke As MethodSymbol = DirectCast(destination, NamedTypeSymbol).
DelegateInvokeMethod
2954
DirectCast(source, NamedTypeSymbol).
DelegateInvokeMethod
,
Semantics\OverloadResolution.vb (7)
2128
Dim leftInvoke As MethodSymbol = leftDelegateType.
DelegateInvokeMethod
2129
Dim rightInvoke As MethodSymbol = rightDelegateType.
DelegateInvokeMethod
2289
Dim leftInvoke As MethodSymbol = leftDelegateType.
DelegateInvokeMethod
2290
Dim rightInvoke As MethodSymbol = rightDelegateType.
DelegateInvokeMethod
3321
Dim delegateInvoke As MethodSymbol = DirectCast(targetType, NamedTypeSymbol).
DelegateInvokeMethod
4381
Dim leftInvoke = leftDelegateType.
DelegateInvokeMethod
4382
Dim rightInvoke = rightDelegateType.
DelegateInvokeMethod
Semantics\TypeInference\TypeArgumentInference.vb (8)
446
Dim invokeMethod As MethodSymbol = delegateType.
DelegateInvokeMethod
1161
Dim invoke As MethodSymbol = delegateType.
DelegateInvokeMethod
1195
Dim invoke As MethodSymbol = delegateType.
DelegateInvokeMethod
1661
Dim argumentInvokeProc As MethodSymbol = argumentDelegateType.
DelegateInvokeMethod
1663
Dim parameterInvokeProc As MethodSymbol = parameterDelegateType.
DelegateInvokeMethod
1922
Dim invokeMethod As MethodSymbol = delegateType.
DelegateInvokeMethod
2012
delegateInvokeMethod = inferredAnonymousDelegate.Key.
DelegateInvokeMethod
2051
Dim invokeMethod As MethodSymbol = delegateType.
DelegateInvokeMethod
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTypeParameterSymbol.vb (1)
60
If _container.
DelegateInvokeMethod
.IsSub OrElse Ordinal < _container.Arity - 1 Then
Symbols\EventSymbol.vb (1)
171
Return type.
DelegateInvokeMethod
Symbols\NamedTypeSymbol.vb (1)
1108
Return Me.
DelegateInvokeMethod
Symbols\Source\CustomEventAccessorSymbol.vb (1)
186
Dim delInvoke = eventType.
DelegateInvokeMethod
Symbols\Source\SourceEventSymbol.vb (1)
173
Dim invoke = DirectCast(type, NamedTypeSymbol).
DelegateInvokeMethod
Symbols\Source\SourceLambdaSymbol.vb (1)
69
Dim targetSignature As New UnboundLambda.TargetSignature(anonymousDelegateSymbol.
DelegateInvokeMethod
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
536
Dim invoke As MethodSymbol = Me.
DelegateInvokeMethod
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
683
Dim invoke As MethodSymbol = DirectCast(member.Type, NamedTypeSymbol).
DelegateInvokeMethod
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
389
Me.
DelegateInvokeMethod
.GenerateDeclarationErrors(cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_Tuples.vb (1)
317
Dim invokeMethod = delegate1.
DelegateInvokeMethod
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
Semantics\Lambda_AnonymousDelegateInference.vb (6)
211
Assert.Same(LambdaSymbol.ReturnTypeIsUnknown, DirectCast(x1.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType)
220
Assert.Same(LambdaSymbol.ReturnTypeIsUnknown, DirectCast(x2.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType)
229
Assert.Same(LambdaSymbol.ReturnTypeIsUnknown, DirectCast(x3.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType)
238
Assert.Same(LambdaSymbol.ReturnTypeIsUnknown, DirectCast(x4.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType)
247
Assert.True(DirectCast(x5.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType.IsObjectType())
256
Assert.Same(LambdaSymbol.ReturnTypeIsUnknown, DirectCast(x6.Type, NamedTypeSymbol).
DelegateInvokeMethod
.ReturnType)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (6)
SymbolsTests\Source\DelegateTests.vb (5)
199
Assert.Equal(subGenDel.
DelegateInvokeMethod
.Parameters(0).Type, param1Type)
221
Assert.Equal(subDel.Locations(0), subDel.
DelegateInvokeMethod
.Locations(0))
247
Dim invoke = funcDel.
DelegateInvokeMethod
315
Assert.Equal(del.
DelegateInvokeMethod
.Parameters.Length, 4)
316
For Each param In del.
DelegateInvokeMethod
.Parameters
SymbolsTests\Source\EventTests.vb (1)
2432
Dim e1EventHandler = compilation.GetTypeByMetadataName("A+E1EventHandler").
DelegateInvokeMethod