PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Method­Spec­Declaration Class / Method­Spec­Declaration Properties / Method­Spec­Declaration.​Parameter­Count Property

MethodSpecDeclaration.ParameterCount Property

Gets the number of parameters.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public int ParameterCount { get; }

Property Value

Type: Int32
The number of parameters.

Implements

IMethodSignature.ParameterCount
See Also