Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c05f546

Browse files
authored
Make c# samples c# style like in benchmarking.md
1 parent 494160d commit c05f546

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/project-docs/benchmarking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Follow the instructions described here https://github.com/dotnet/corefx/blob/mas
2828

2929
Add a benchmark class, configure it either with a manual configuration or by attributing it and pass the class type to the BenchmarkRunner:
3030

31-
```
31+
```csharp
3232
[MemoryDiagnoser]
3333
// ...
3434
public class Benchmark
@@ -51,7 +51,7 @@ Make sure to build your local corefx repository in RELEASE mode `.\build -releas
5151

5252
Currently there is no straightforward way to run your BenchmarkDotNet application in a dedicated process, therefore we are using the InProcess switch `[InProcess]`:
5353

54-
```
54+
```csharp
5555
[InProcess]
5656
public class Benchmark
5757
{
@@ -74,7 +74,7 @@ Follow the instructions described here https://github.com/dotnet/corefx/blob/mas
7474

7575
Add the desired amount of Jobs and add `NetCoreAppSettings` to specify the `targetFrameworkMoniker`, `runtimeFrameworkVersion` and `customDotNetCliPath` for each:
7676

77-
```
77+
```csharp
7878
public class MainConfig : ManualConfig
7979
{
8080
public MainConfig()

0 commit comments

Comments
 (0)