# LanguageUpgrader

Class in [Yarn.Compiler.Upgrader](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.compiler.upgrader)

Inherits from `System.Object`

## Summary

Contains methods for upgrading the syntax of Yarn scripts.

```csharp
public static class LanguageUpgrader
```

## Methods

| Name                                                                                                                                                                              | Description                                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Upgrade(UpgradeJob)](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.languageupgrader/yarn.compiler.upgrader.languageupgrader.upgrade) | Upgrades a Yarn script from one version of the language to another, producing both the fully upgraded text as well as a collection of replacements. |
