> 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.md).

# Yarn.Compiler.Upgrader Namespace

## Summary

Contains classes for upgrading Yarn code to more recent versions of the language.

## Classes

| Name                                                                                              | Description                                                |
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [LanguageUpgrader](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.languageupgrader.md) | Contains methods for upgrading the syntax of Yarn scripts. |

## Enums

| Name                                                                                    | Description                                                  |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [UpgradeType](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradetype.md) | Specifies what kind of language upgrading should be applied. |

## Structs

| Name                                                                                            | Description                                                        |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [TextReplacement](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.textreplacement.md) | Contains information describing a replacement to make in a string. |
| [UpgradeJob](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob.md)           | An upgrade job.                                                    |
| [UpgradeResult](/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgraderesult.md)     | The result of an upgrade.                                          |
