NDepend.API Documentation
WithReturnType Method
NDepend.CodeModel Namespace > ExtensionMethodsSequenceUsage Class : WithReturnType Method
This sequence of methods.
The return type of all methods in the returned sequence.
Returns a sub-sequence of this sequence methods, containing only methods that have returnType for return type.
Syntax

Parameters

methods
This sequence of methods.
returnType
The return type of all methods in the returned sequence.
Remarks
This extension method has a O(methods.Count) time complexity.
Requirements

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

See Also

Reference

ExtensionMethodsSequenceUsage Class
ExtensionMethodsSequenceUsage Members
ReturnType Property
WithReturnTypeIn Method
ReturnTypeIs Method