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