> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob.md).

# UpgradeJob

Struct in [Yarn.Compiler.Upgrader](/api/csharp/yarn.compiler.upgrader.md)

Inherits from `System.ValueType`

## Summary

An upgrade job.

```csharp
public struct UpgradeJob
```

## Constructors

| Name                                                                                                                                                                         | Description                                           |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [UpgradeJob(UpgradeType,IEnumerable\<CompilationJob.File>)](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob/yarn.compiler.upgrader.upgradejob..ctor.md) | Initialises a new instances of the UpgradeJob struct. |

## Fields

| Name                                                                                                                                 | Description                         |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- |
| [Files](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob/yarn.compiler.upgrader.upgradejob.files.md)             | The collection of files to upgrade. |
| [UpgradeType](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob/yarn.compiler.upgrader.upgradejob.upgradetype.md) | The type of the upgrade to perform. |
