> 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/2.4/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](/2.4/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.languageupgrader.md) | Contains methods for upgrading the syntax of Yarn scripts. |
| [OrderedSet](/2.4/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.orderedset.md)             |                                                            |

## Enums

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

## Structs

| Name                                                                                                | Description                                                        |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [TextReplacement](/2.4/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.textreplacement.md) | Contains information describing a replacement to make in a string. |
| [UpgradeJob](/2.4/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgradejob.md)           |                                                                    |
| [UpgradeResult](/2.4/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.upgraderesult.md)     |                                                                    |
