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

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

.NET API 241,664 bytes

 ICodeUnit

public interface ICodeUnit : ICodePart
An interface implemented by types that describe a unit of code.

Gets the collection of expressions beneath this code unit.

Gets the collection of statements beneath this code unit.

string FriendlyPluralTypeText { get; }

Gets the friendly name of the code unit type as a plural noun, which can be used in user output.

string FriendlyTypeText { get; }

Gets the friendly name of the code unit type, which can be used in user output.

Gets the list of tokens within this code unit.

Gets the list of variables and constants defined by this code unit.