private static IsCompatibleObject ( object? value ) : bool | ||
value | object? | |
return | bool |
void IList.Remove(object value) { if (ReadOnlyCollectionBuilder <T> .IsCompatibleObject(value)) { this.Remove((T)value); } }
int IList.IndexOf(object value) { if (ReadOnlyCollectionBuilder <T> .IsCompatibleObject(value)) { return(this.IndexOf((T)value)); } return(-1); }
bool IList.Contains(object value) { return(ReadOnlyCollectionBuilder <T> .IsCompatibleObject(value) && this.Contains((T)value)); }