129 references to Method
Microsoft.VisualBasic.Core (129)
Microsoft\VisualBasic\CompilerServices\ConversionResolution.vb (26)
180
Friend Shared Function ClassifyConversion(ByVal targetType As System.Type, ByVal sourceType As System.Type, ByRef operatorMethod As
Method
) As ConversionClass
530
ByRef foundSourceTypeOperators As Boolean) As List(Of
Method
)
540
Dim result As List(Of
Method
) =
548
Dim narrowingOperators As List(Of
Method
) =
640
ByVal searchList As List(Of
Method
),
641
ByVal resultList As List(Of
Method
),
647
For Each item As
Method
In searchList
661
ByVal operatorToInsert As
Method
,
662
ByVal operatorList As List(Of
Method
),
673
Dim existing As
Method
= operatorList.Item(i)
674
Dim leastGeneric As
Method
= OverloadResolution.LeastGenericProcedure(existing, operatorToInsert)
700
ByVal operatorSet As List(Of
Method
),
702
ByRef resolutionIsAmbiguous As Boolean) As List(Of
Method
)
756
Dim operatorChoices As List(Of
Method
) = New List(Of
Method
)(operatorSet.Count)
757
Dim candidates As List(Of
Method
) = New List(Of
Method
)(operatorSet.Count)
779
For Each currentMethod As
Method
In operatorSet
855
Return New List(Of
Method
)
874
ByRef operatorMethod As
Method
) As ConversionClass
929
ByRef operatorMethod As
Method
,
949
Dim operatorSet As List(Of
Method
) =
963
Dim operatorChoices As List(Of
Method
) =
1025
Friend OperatorMethod As
Method
1081
ByVal operatorMethod As
Method
)
1102
ByRef operatorMethod As
Method
) As Boolean
Microsoft\VisualBasic\CompilerServices\Conversions.vb (2)
2607
Dim OperatorMethod As
Method
= Nothing
2682
Dim OperatorMethod As
Method
= Nothing
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (14)
128
Dim targetProcedure As
Method
=
453
Dim targetProcedure As
Method
=
544
Dim targetProcedure As
Method
=
677
Dim targetProcedure As
Method
=
755
Dim targetProcedure As
Method
=
1000
Dim targetProcedure As
Method
1123
Dim targetProcedure As
Method
=
1224
Dim targetProcedure As
Method
=
1243
Friend Shared Function MatchesPropertyRequirements(ByVal targetProcedure As
Method
, ByVal flags As BindingFlags) As MethodInfo
1254
Friend Shared Function ReportPropertyMismatch(ByVal targetProcedure As
Method
, ByVal flags As BindingFlags) As Exception
1291
ByRef failure As OverloadResolution.ResolutionFailure) As
Method
1341
Dim resolutionResult As
Method
=
1480
Friend Shared Function GetCallTarget(ByVal targetProcedure As
Method
, ByVal flags As BindingFlags) As MethodBase
1489
ByVal targetProcedure As
Method
,
Microsoft\VisualBasic\CompilerServices\ObjectFlowControl.vb (5)
43
Private _operatorPlus As
Method
44
Private _operatorGreaterEqual As
Method
45
Private _operatorLessEqual As
Method
102
ByVal forLoopArgumentType As Type) As
Method
104
Dim operatorMethod As
Method
= Operators.GetCallableUserDefinedOperator(op, forLoopArgument, forLoopArgument)
Microsoft\VisualBasic\CompilerServices\Operators.Resolution.vb (10)
24
ByRef foundType2Operators As Boolean) As List(Of
Method
)
33
Dim result As List(Of
Method
)
56
result = New List(Of
Method
)
71
Dim secondResult As List(Of
Method
)
102
ByVal reportErrors As Boolean) As
Method
159
Dim candidates As List(Of
Method
) =
189
ByVal operatorMethod As
Method
,
260
Dim operatorMethod As
Method
= ResolveUserDefinedOperator(op, arguments, True)
277
ByVal ParamArray arguments As Object()) As
Method
279
Dim operatorMethod As
Method
= ResolveUserDefinedOperator(op, arguments, False)
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (65)
171
Dim operatorMethod As
Method
= Nothing
221
ByVal leftMember As
Method
,
225
ByVal rightMember As
Method
,
293
ByVal leftMember As
Method
,
297
ByVal rightMember As
Method
,
365
ByVal left As
Method
,
366
ByVal right As
Method
,
368
ByRef signatureMismatch As Boolean) As
Method
444
ByVal left As
Method
,
445
ByVal right As
Method
) As
Method
456
Dim leastGeneric As
Method
=
488
ByVal candidates As List(Of
Method
),
495
Dim newCandidateNode As
Method
= Nothing
553
Dim existing As
Method
= candidates.Item(index)
723
ByVal baseReference As Container) As List(Of
Method
)
735
Dim candidates As List(Of
Method
) = New List(Of
Method
)(members.Length)
1212
ByVal targetProcedure As
Method
,
1232
ByVal targetProcedure As
Method
,
1303
ByVal targetProcedure As
Method
,
1409
ByVal targetProcedure As
Method
,
1667
ByVal targetProcedure As
Method
,
1709
ByVal targetProcedure As
Method
,
1847
ByVal targetProcedure As
Method
,
1981
ByVal targetProcedure As
Method
,
2056
ByVal candidates As List(Of
Method
),
2061
ByRef someCandidatesAreGeneric As Boolean) As
Method
2063
Dim bestCandidate As
Method
= Nothing
2067
Dim candidateProcedure As
Method
= candidates(index)
2108
ByVal candidate As
Method
,
2144
ByVal left As
Method
,
2145
ByVal right As
Method
,
2150
Optional ByVal continueWhenBothLose As Boolean = False) As
Method
2307
ByVal candidates As List(Of
Method
),
2310
ByVal argumentNames As String()) As
Method
2313
For Each currentCandidate As
Method
In candidates
2321
For Each contender As
Method
In candidates
2331
Dim bestOfTheTwo As
Method
=
2368
ByVal candidates As List(Of
Method
),
2371
ByVal argumentNames As String()) As
Method
2375
Dim left As
Method
= candidates(leftIndex)
2380
Dim right As
Method
= candidates(rightIndex)
2385
Dim leastGeneric As
Method
= Nothing
2475
ByVal substitution2 As
Method
)
2504
ByVal targetProcedure As
Method
,
2510
Private Delegate Function CandidateProperty(ByVal candidate As
Method
) As Boolean
2514
ByVal candidates As List(Of
Method
),
2529
Dim candidateProcedure As
Method
= candidates(index)
2583
ByVal targetProcedure As
Method
,
2598
Private Shared Function CandidateIsNotCallable(ByVal candidate As
Method
) As Boolean
2605
ByVal candidates As List(Of
Method
),
2625
ByVal targetProcedure As
Method
,
2640
Private Shared Function CandidateIsNarrowing(ByVal candidate As
Method
) As Boolean
2647
ByVal candidates As List(Of
Method
),
2666
ByVal targetProcedure As
Method
,
2676
Private Shared Function CandidateIsUnspecific(ByVal candidate As
Method
) As Boolean
2682
ByVal candidates As List(Of
Method
),
2700
ByVal candidates As List(Of
Method
),
2706
ByRef failure As ResolutionFailure) As
Method
2716
Dim best As
Method
=
2748
Dim bestNarrowingCandidate As
Method
= Nothing
2750
For Each candidate As
Method
In candidates
2807
ByVal baseReference As Container) As
Method
2821
Dim candidates As List(Of
Method
) =
Microsoft\VisualBasic\CompilerServices\Symbols.vb (7)
1251
ByVal targetProcedure As
Method
,
1500
Public Shared Operator =(ByVal left As
Method
, ByVal right As
Method
) As Boolean
1504
Public Shared Operator <>(ByVal left As
Method
, ByVal right As
Method
) As Boolean
1508
Public Shared Operator =(ByVal left As MemberInfo, ByVal right As
Method
) As Boolean
1512
Public Shared Operator <>(ByVal left As MemberInfo, ByVal right As
Method
) As Boolean