Definition at line 522 of file LinkedList.cs.
523 {
525 {
526 throw new ArgumentNullException("array");
527 }
529 {
531 }
532 if (
array.GetLowerBound(0) != 0)
533 {
535 }
537 {
539 }
541 {
543 }
545 {
547 return;
548 }
550 {
552 }
553 LinkedListNode<T> next =
head;
554 try
555 {
556 if (next != null)
557 {
558 do
559 {
561 next = next.next;
562 }
563 while (next !=
head);
564 }
565 }
566 catch (ArrayTypeMismatchException)
567 {
569 }
570 }
void CopyTo(T[] array, int index)
static string Argument_InvalidArrayType
static string Arg_NonZeroLowerBound
static string Arg_RankMultiDimNotSupported
static string Arg_InsufficientSpace
static string ArgumentOutOfRange_NeedNonNegNum
References System.SR.Arg_InsufficientSpace, System.SR.Arg_NonZeroLowerBound, System.SR.Arg_RankMultiDimNotSupported, System.SR.Argument_InvalidArrayType, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.array, System.Collections.Generic.LinkedList< T >.CopyTo(), System.Collections.Generic.LinkedList< T >.Count, System.Collections.Generic.LinkedList< T >.head, and System.index.