This SequenceEqual overload should never be called.
This method is marked as obsolete and always throws NotSupportedException when called.
Namespace:
System.Linq
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")> _
Public Shared Function SequenceEqual(Of TSource) ( _
first As ParallelQuery(Of TSource), _
second As IEnumerable(Of TSource), _
comparer As IEqualityComparer(Of TSource) _
) As Boolean |
C# |
---|
[ObsoleteAttribute("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static bool SequenceEqual<TSource>(
ParallelQuery<TSource> first,
IEnumerable<TSource> second,
IEqualityComparer<TSource> comparer
)
|
Parameters
- first
- Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
This parameter is not used.
- second
- Type: System.Collections.Generic..::.IEnumerable<(Of <(TSource>)>)
This parameter is not used.
- comparer
- Type: System.Collections.Generic..::.IEqualityComparer<(Of <(TSource>)>)
This parameter is not used.
Type Parameters
- TSource
- This type parameter is not used.
Return Value
This overload always throws a
NotSupportedException.
Remarks
Exceptions
Exception | Condition |
---|
System..::.NotSupportedException | Thrown every time this method is called. |
See Also