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

Parameters

methods
This sequence of methods.
returnTypes
The sequence of return types of methods in the returned sequence.
Remarks
This extension method has a O(methods.Count + returnTypes.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
WithReturnType Method
ReturnTypeIs Method