Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Rule

Represents a rule which modifies the Rule.Severity of an Issue ReportItem or all of the ProjectIssues that share a Descriptor.
Read time 1 minuteLast updated 9 days ago

Definition

public class Rule

Properties

Property

Description

FilterAn optional location filter representing a ReportItem's location. If specified, this Rule applies to a single ReportItem. If the string is null or empty, this Rule applies to every ReportItem matching the Id.
IdThe Descriptor ID
SeverityThe Severity level to apply to the issue(s) represented by this Rule

Methods

Method

Description

GetHashCodeGet the hashed integer representation of the Rule.