public override void TrimToSize() { throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); } }