PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyIExpressionReturn­Type
Open sandboxFocus

IExpression.ReturnType Property

ReturnType

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).

Declaration
Type ReturnType { get; }
Property Value
Type Description
Type