IMethodSymbol.IsVararg Property

Definition

Returns whether this method is using CLI VARARG calling convention. This is used for C-style variable argument lists. This is used extremely rarely in C# code and is represented using the undocumented "__arglist" keyword.

Note that methods with "params" on the last parameter are indicated with the "IsParams" property on ParameterSymbol, and are not represented with this property.

public:
 property bool IsVararg { bool get(); };
public bool IsVararg { get; }
member this.IsVararg : bool
Public ReadOnly Property IsVararg As Boolean

Property Value

Applies to