NDepend.API Documentation
ReturnType Property
NDepend.CodeModel Namespace > IMethod Interface : ReturnType Property
Gets the return type of this method. Gets null if the return type of this method is not in the scope of assemblies analyzed defined by NDepend.Project.IProject.NDepend.Project.IProject.CodeToAnalyze.
Syntax
IType ReturnType {get;}
Remarks
This property getter has a constant 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

IMethod Interface
IMethod Members
WithReturnType Method
WithReturnTypeIn Method
ReturnTypeIs Method