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