PostSharp6.0/API Reference/Post­Sharp.​Reflection Namespace/Parameter­Kind Enumeration

ParameterKind Enumeration

Enumerates all possible kinds of method parameters. The parameter kind indicates whether the parameter is by ref or by value and its direction.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public enum ParameterKind
Members
  Member nameValueDescription
InValue0 Normal (input) parameter.
ByRefIn1 The read-only parameter passed by reference (in parameters since C# 7.2).
ByRefOut2out parameter.
ByRefInOut3ref parameter.
ReturnValue4 The return value parameter.
ReturnRef5 The reference return value parameter (ref returns since C# 7.0).
See Also