PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public enum ParameterKind
  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