StyleCop.CSharp by StyleCop contributors, Andy Reeves, Chris Dahlberg

<PackageReference Include="StyleCop.CSharp" Version="6.2.0" />

.NET API 245,760 bytes


public class Parameter : ICodePart
Describes a single method parameter.
public CodePartType CodePartType { get; }

Gets the type of this code part.

public Expression DefaultArgument { get; }

Gets the optional default argument for the parameter.

public bool Generated { get; }

Gets a value indicating whether the parameter is located within a block of generated code.

public int LineNumber { get; }

Gets the line number that the parameter appears on in the code.

public CodeLocation Location { get; }

Gets the location of the parameter in the code.

public ParameterModifiers Modifiers { get; }

Gets the modifiers applied to this parameter.

public string Name { get; }

Gets the parameter name.

public ICodePart Parent { get; }

Gets the parent of the parameter.

public CsTokenList Tokens { get; }

Gets the tokens that form the parameter.

public TypeToken Type { get; }

Gets the parameter type.