Public Class MyList Inherits List(Of MyObject) Public ReadOnly Property SelectedCount() As Integer Get Return Me.Count(Function(obj) obj.IsS
Use AsEnumerable for this purpose:
Public ReadOnly Property SelectedCount() As Integer Get Return Me.AsEnumerable.Count(Function(obj) obj.IsSelected) End Get End Property