Skip to content

Commit 34adbc9

Browse files
committed
Replace "c#" syntax identifiers with "csharp" since ReadTheDocs doesn't seem to understand the former.
1 parent f83f961 commit 34adbc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/usage/msbuild-task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ At build time a temporary `AssemblyInfo.cs` will be created that contains the
4545
appropriate SemVer information. This will be included in the build pipeline.
4646
Sample default:
4747

48-
```c#
48+
```csharp
4949
[assembly: AssemblyVersion("1.0.0.0")]
5050
[assembly: AssemblyFileVersion("1.0.0.0")]
5151
[assembly: AssemblyInformationalVersion("1.1.0+Branch.master.Sha.722aad3217bd49a6576b6f82f60884e612f9ba58")]
@@ -63,7 +63,7 @@ Now when you build:
6363
All other [variables](../more-info/variables.md) will be injected into an
6464
internal static class:
6565

66-
```c#
66+
```csharp
6767
namespace AssemblyName
6868
{
6969
[CompilerGenerated]
@@ -81,7 +81,7 @@ namespace AssemblyName
8181

8282
##### All variables
8383

84-
```c#
84+
```csharp
8585
var assemblyName = assembly.GetName().Name;
8686
var gitVersionInformationType = assembly.GetType(assemblyName + ".GitVersionInformation");
8787
var fields = gitVersionInformationType.GetFields();
@@ -94,7 +94,7 @@ foreach (var field in fields)
9494

9595
##### Specific variable
9696

97-
```c#
97+
```csharp
9898
var assemblyName = assembly.GetName().Name;
9999
var gitVersionInformationType = assembly.GetType(assemblyName + ".GitVersionInformation");
100100
var versionField = gitVersionInformationType.GetField("Major");

0 commit comments

Comments
 (0)