> ## Documentation Index
> Fetch the complete documentation index at: https://ancplua.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AR0001 - Snake Case To Pascal Case

> Code refactoring that converts snake_case to PascalCase

Source: [Ar0001SnakeCaseToPascalCaseRefactoring.cs](https://github.com/ANcpLua/ANcpLua.Analyzers/blob/main/src/ANcpLua.Analyzers.CodeFixes/Refactorings/AR0001SnakeCaseToPascalCaseRefactoring.cs)

## Description

This is a code refactoring that snake case to pascal case.

## Before

```csharp theme={null}
string user_name = "value";
```

## After

```csharp theme={null}
string UserName = "value";
```

## Properties

* **Type**: Refactoring (not a diagnostic)
* **Triggered by**: Right-click context menu or Quick Actions

<Note>
  Refactorings do not produce diagnostics and cannot be configured via
  .editorconfig.
</Note>
