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

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

.NET API 245,760 bytes

 Field

public sealed class Field : CsElement
Describes a field within a class or struct.
public bool Const { get; }

Gets a value indicating whether the field is declared as a constant.

public TypeToken FieldType { get; }

Gets the type of the field.

public bool Readonly { get; }

Gets a value indicating whether the field is declared read only.

public bool Static { get; }

Gets a value indicating whether the field is declared static.

Gets the variable declaration statement within this field.