NDepend.API Documentation
ContainsNullElement<T> Method
NDepend.Helpers Namespace > ExtensionMethodsEnumerable Class : ContainsNullElement<T> Method
The sequence that contains items tested for nullity.
Returns true if the sequence seq contains a null element.
Syntax
[Extension()]
public static bool ContainsNullElement<T>( 
   IEnumerable<T> seq
)
where T: class

Parameters

seq
The sequence that contains items tested for nullity.

Type Parameters

T
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsEnumerable Class
ExtensionMethodsEnumerable Members