# Descriptor

> Descriptor defines a potential problem and a recommended course of action.

## Definition

* **Type:** Class
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.7/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor
* **Implements:** [IEquatable\<Descriptor>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public sealed class Descriptor : IEquatable<Descriptor>
```

## Fields

| Value                                                                                                              | Description                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Areas](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/areas.md)                           | Affected areas                                                                                                                                                            |
| [DefaultSeverity](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/defaultseverity.md)       | Default Severity of the issue.                                                                                                                                            |
| [Description](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/description.md)               | Description of the issue.                                                                                                                                                 |
| [DocumentationUrl](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/documentationurl.md)     | URL to documentation.                                                                                                                                                     |
| [Fixer](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/fixer.md)                           | Optional Auto-Fixer                                                                                                                                                       |
| [FixerLabel](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/fixerlabel.md)                 | The Auto-Fixer can have a custom label                                                                                                                                    |
| [Id](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/id.md)                                 | An unique identifier for the issue. IDs must have exactly 3 upper case characters, followed by 4 digits.                                                                  |
| [IsEnabledByDefault](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/isenabledbydefault.md) | Returns true if the issue is enabled by default.                                                                                                                          |
| [MaximumVersion](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/maximumversion.md)         | Maximum Unity version this issue applies to. If not specified, the issue applies to all versions.                                                                         |
| [MessageFormat](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/messageformat.md)           | Message used to describe a specific instance of the issue.                                                                                                                |
| [Method](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/method.md)                         | Name of the method of a known code API issue.                                                                                                                             |
| [MinimumVersion](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/minimumversion.md)         | Minimum Unity version this issue applies to. If not specified, the issue applies to all versions.                                                                         |
| [Platforms](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/platforms.md)                   | Affected platforms. If null, the issue applies to all platforms.                                                                                                          |
| [Recommendation](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/recommendation.md)         | Recommendation to fix the issue.                                                                                                                                          |
| [ReturnType](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/returntype.md)                 | Return type of a known code API issue. See [https://jira.unity3d.com/browse/PROFB-318](https://jira.unity3d.com/browse/PROFB-318) for more details on why this is useful. |
| [Title](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/title.md)                           | Issue title                                                                                                                                                               |
| [Type](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/type.md)                             | Name of the type (namespace and class/struct) of a known code API issue.                                                                                                  |
| [Value](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/value.md)                           | The evaluated value of a know code API issue.                                                                                                                             |

## Constructors

| Constructor                                                                                                                                                                             | Description                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [Descriptor(System.String,System.String,Unity.ProjectAuditor.Editor.Areas,System.String,System.String)](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/ctor.md) | Initializes and returns an instance of Descriptor. |

## Methods

| Method                                                                                               | Description                                                                 |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [Equals](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/equals.md)           | Returns true if the Descriptor is equal to a given object, false otherwise. |
| [GetHashCode](/engine/6000.7/script-reference/unity/projectauditor/editor/descriptor/gethashcode.md) | Returns the hash code for the Descriptor's Issue ID.                        |
