14 references to IsMethod
Microsoft.VisualBasic.Core (14)
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (2)
1415
Debug.Assert(resolutionResult.
IsMethod
, "must be a method")
1481
If targetProcedure.
IsMethod
Then Return targetProcedure.AsMethod
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (10)
231
If Not leftMember.
IsMethod
OrElse Not rightMember.
IsMethod
Then
374
If Not left.
IsMethod
OrElse Not right.
IsMethod
Then Return Nothing
558
If existing.
IsMethod
Then existingCandidate = existing.AsMethod Else existingCandidate = Nothing
1319
Debug.Assert(targetProcedure.
IsMethod
, "we shouldn't be inferring type arguments for non-methods")
1427
targetProcedure.
IsMethod
AndAlso
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)
1479
Debug.Assert(Me.
IsMethod
, "binding to a non-method")
1491
Debug.Assert(Me.
IsMethod
, "casting a non-method to a method")