Skip to content

Commit

Permalink
Fix C# language name in spec (#57427)
Browse files Browse the repository at this point in the history
* Fix C# language name in spec

* Update docs/features/pdb-compilation-options.md

Co-authored-by: Youssef Victor <[email protected]>

Co-authored-by: Youssef Victor <[email protected]>
  • Loading branch information
tmat and Youssef1313 authored Nov 15, 2021
1 parent 2da789a commit 431f38b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/features/pdb-compilation-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ foreach (var handle in metadataReader.GetCustomDebugInformation(EntityHandle.Mod

### Compiler Options custom debug information

The remaining values will be stored as key value pairs in the pdb. The storage format will be UTF8 encoded key value pairs that are null terminated. Order is not guaranteed. Any values left out can be assumed to be the default for the type. Keys may be different for Visual Basic and CSharp. They are serialized to reflect the command line arguments representing the same values
The remaining values will be stored as key value pairs in the pdb. The storage format will be UTF8 encoded key value pairs that are null terminated. Order is not guaranteed. Any values left out can be assumed to be the default for the type. Keys may be different for Visual Basic and C#. They are serialized to reflect the command line arguments representing the same values

Example:

`compilerversion\01.2.3-example-sha\0sourceencoding\0utf-8\0checked\01\0unsafe\01\0langversion\0latest\0nullable\0Enable`

## List of Compiler Flags

#### CSharp Flags That Can Be Derived From PDB or Assembly
#### C# Flags That Can Be Derived From PDB or Assembly

* baseaddress
* checksumalgorithm
Expand Down Expand Up @@ -171,7 +171,7 @@ Example:
* win32manifest
* win32res

#### CSharp Flags Not Included
#### C# Flags Not Included

* bugreport
* delaysign
Expand Down Expand Up @@ -255,11 +255,11 @@ Example:
* verbose
* warnaserror

#### Shared Options for CSharp and Visual Basic
#### Shared Options for C# and Visual Basic

| PDB Key | Format | Default | Description |
| ---------------------- | --------------------------------------- | --------- | ------------ |
| language | `CSharp\|Visual Basic` | required | Language name. |
| language | `C#\|Visual Basic` | required | Language name. |
| compiler-version | [SemVer2](https://semver.org/spec/v2.0.0.html) string | required | Full version with SHA |
| runtime-version | [SemVer2](https://semver.org/spec/v2.0.0.html) string | required | [runtime version](#runtime-version) |
| source-file-count | int32 | required | Count of files in the document table that are source files |
Expand All @@ -270,7 +270,7 @@ Example:
| output-kind | string | require | The value passed to `/target` |
| platform | string | require | The value passed to `/platform` |

#### Options For CSharp
#### Options For C\#

See [compiler options](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/listed-alphabetically) documentation

Expand Down

0 comments on commit 431f38b

Please sign in to comment.