Class Foo | |
'Function [Select](Of T)(selector As Func(Of String, T)) As Foo | |
' Return Me | |
'End Function | |
Function Where(predicate As Func(Of String, Boolean)) As Integer | |
Return 0 | |
End Function | |
End Class | |
Module Program | |
Sub Main() | |
Dim c As New Foo | |
Dim q = From x In c Where True Select x | |
End Sub | |
End Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment