CodeAnalysisIssue<T>.

CodeAnalysisIssue(string, int?, string, int, string) Constructor

Summary

Initializes a new instance of the CodeAnalysisIssue<T> class.
Assembly
Cake.Prca.dll
Namespace
Cake.Prca.Issues
Containing Type
CodeAnalysisIssue<T>

Syntax

public CodeAnalysisIssue(string filePath, int? line, string message, int priority, string rule)

Parameters

Name Type Description
filePath string The path to the file affacted by the issue. The path needs to be relative to the repository root. null or System.String.Empty if issue is not related to a change in a file.
line Nullable<T> The line in the file where the issues has occurred. Nothing if the issue affects the whole file or an asssembly.
message string The message of the code analysis issue.
priority int The priority of the message used to filter out issues if there are more issues than should be posted.
rule string The rule of the code analysis issue.

Return Value

Type Description
void
GitHub