17 references to AsMethod
Microsoft.VisualBasic.Core (17)
Microsoft\VisualBasic\CompilerServices\ConversionResolution.vb (2)
648
Dim current As MethodBase = item.
AsMethod
781
Dim current As MethodBase = currentMethod.
AsMethod
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (2)
1421
SR.Format(SR.MethodAssignment1, resolutionResult.
AsMethod
.Name))
1481
If targetProcedure.IsMethod Then Return targetProcedure.
AsMethod
Microsoft\VisualBasic\CompilerServices\ObjectFlowControl.vb (1)
113
Dim operatorInfo As MethodInfo = TryCast(operatorMethod.
AsMethod
, MethodInfo)
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (10)
269
Dim leftProcedure As MethodBase = leftMember.
AsMethod
270
Dim rightProcedure As MethodBase = rightMember.
AsMethod
539
newCandidate = newCandidateNode.
AsMethod
558
If existing.IsMethod Then existingCandidate = existing.
AsMethod
Else existingCandidate = Nothing
1324
targetProcedure.
AsMethod
,
1428
targetProcedure.
AsMethod
.IsGenericMethod AndAlso (Not targetProcedure.
AsMethod
.IsGenericMethodDefinition)),
1431
If targetProcedure.IsMethod AndAlso IsRawGeneric(targetProcedure.
AsMethod
) Then
2160
If left.IsMethod Then leftMethod = left.
AsMethod
Else leftMethod = Nothing
2161
If right.IsMethod Then rightMethod = right.
AsMethod
Else rightMethod = Nothing
Microsoft\VisualBasic\CompilerServices\Symbols.vb (2)
1261
DirectCast(targetProcedure.
AsMethod
, MethodInfo).GetGenericMethodDefinition IsNot Nothing,
1483
_parameters = Me.
AsMethod
.GetParameters