public static System.Collections.Generic.LinkedList <TItem> LinkedList <TItem, TConcat_InnerEnumerable, TConcat_InnerEnumerator>(DefaultIfEmptySpecificEnumerable <TItem, TConcat_InnerEnumerable, TConcat_InnerEnumerator> second)
     where TConcat_InnerEnumerable : struct, IStructEnumerable <TItem, TConcat_InnerEnumerator>
     where TConcat_InnerEnumerator : struct, IStructEnumerator <TItem>
 => LinkedListImpl <TItem, DefaultIfEmptySpecificEnumerable <TItem, TConcat_InnerEnumerable, TConcat_InnerEnumerator>, DefaultIfEmptySpecificEnumerator <TItem, TConcat_InnerEnumerator> >(ref second);
示例#2
0
        public bool SequenceEqual <TSequenceEqual_DefaultIfEmptyInnerEnumerable, TSequenceEqual_DefaultIfEmptyInnerEnumerator>(DefaultIfEmptySpecificEnumerable <TItem, TSequenceEqual_DefaultIfEmptyInnerEnumerable, TSequenceEqual_DefaultIfEmptyInnerEnumerator> second, IEqualityComparer <TItem> comparer)
            where TSequenceEqual_DefaultIfEmptyInnerEnumerable : struct, IStructEnumerable <TItem, TSequenceEqual_DefaultIfEmptyInnerEnumerator>
            where TSequenceEqual_DefaultIfEmptyInnerEnumerator : struct, IStructEnumerator <TItem>
        {
            if (IsDefaultValue())
            {
                throw CommonImplementation.Uninitialized("first");
            }
            if (second.IsDefaultValue())
            {
                throw CommonImplementation.Uninitialized(nameof(second));
            }

            return(false);
        }