Skip to content

Commit b758d20

Browse files
authored
Update StaThread intro documentation (#2150)
Call out that support for `[STAThread]` was fixed in .NET Core 2.1. Fix a couple minor grammatical errors.
1 parent adf9d60 commit b758d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/articles/samples/IntroStaThread.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ uid: BenchmarkDotNet.Samples.IntroStaThread
66

77
If the code you want to benchmark requires `[System.STAThread]`
88
then you need to apply this attribute to the benchmarked method.
9-
BenchmarkDotNet will generate executable with `[STAThread]` applied to it's `Main` method.
9+
BenchmarkDotNet will generate an executable with `[STAThread]` applied to its `Main` method.
1010

11-
Currently it does not work for .NET Core 2.0 due to [this](https://github.com/dotnet/runtime/issues/8834) bug.
11+
Using this feature on .NET Core requires .NET Core 2.1 or newer. Older versions will not work due to [this](https://github.com/dotnet/runtime/issues/8834) bug.
1212

1313
### Source code
1414

0 commit comments

Comments
 (0)