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

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

.NET API 245,760 bytes


public class Argument : ICodePart
Describes an argument passed to a method, constructor, indexer, etc.
public CodePartType CodePartType { get; }

Gets the type of this code part.

public Expression Expression { get; }

Gets the expression that forms the body of the argument.

public bool Generated { get; }

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

public int LineNumber { get; }

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

public CodeLocation Location { get; }

Gets the location of the argument in the code.

public ParameterModifiers Modifiers { get; }

Gets the modifiers applied to this argument.

public CsToken Name { get; }

Gets the optional argument name.

public ICodePart Parent { get; }

Gets the parent of the argument.

public CsTokenList Tokens { get; }

Gets the tokens that form the argument.