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

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

.NET API 245,760 bytes


public class FileHeader : ICodePart
Describes the header at the top of a C# file.
public CodePartType CodePartType { get; }

Gets the type of this code part.

public bool Generated { get; }

Gets a value indicating whether the file header contains the auto-generated attribute.

public string HeaderText { get; }

Gets the header text.

public string HeaderXml { get; }

Gets the header text string modified such that it is loadable into an XmlDocument object.

public int LineNumber { get; }

Gets the line number on which the header begins.

public CodeLocation Location { get; }

Gets the location of the token.

public ICodePart Parent { get; }

Gets the parent of the file header.

public CsTokenList Tokens { get; }

Gets the collection of tokens that form the header.

public bool UnStyled { get; }

Gets a value indicating whether the header has a UnStyled element.

public static string HtmlEncode(string value)

Converts a string to an HTML-encoded string.