PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / IExpression Interface / IExpression Properties / IExpression.​Return­Type Property

IExpression.ReturnType Property

Gets the type of the return value of the current expression, or Void if the expression does not return anything (i.e. for pure instructions, for instance a goto or throw instruction).

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
Type ReturnType { get; }

Property Value

Type: Type
See Also