From 341f00013a95d3ebbaf37849f447f954d974d97d Mon Sep 17 00:00:00 2001 From: James Groom Date: Thu, 31 Oct 2024 04:07:59 +1000 Subject: [PATCH] Updated C# and .NET docs supplement (markdown) --- C#-and-.NET-docs-supplement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C#-and-.NET-docs-supplement.md b/C#-and-.NET-docs-supplement.md index ee743c8..aabb03b 100644 --- a/C#-and-.NET-docs-supplement.md +++ b/C#-and-.NET-docs-supplement.md @@ -62,7 +62,7 @@ see [feature matrix](https://github.com/TASEmulators/BizHawk/wiki/Available-C%23 ## Guarded `default` in `switch` statements -You can only have 1 `default` branch, but `case _ when ...:` doesn't work. However, `case var _ when ...:` does. +You can only have 1 `default:` branch (not to be confused with `case default:`), but you can't simply add a guard clause: `case _ when ...:` doesn't work. However, `case var _ when ...:` does. ## MSBuild `Condition` placement