Updated C# and .NET docs supplement (markdown)
parent
d9ca7240d2
commit
b65bea06d4
|
@ -64,6 +64,10 @@ see [feature matrix](https://github.com/TASEmulators/BizHawk/wiki/Available-C%23
|
|||
|
||||
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.
|
||||
|
||||
## `MemoryMarshal.Cast` can't be used with reference types
|
||||
|
||||
See [this SO answer](https://stackoverflow.com/a/79146967/7467292). tl;dr: It's possible in .NET Core only.
|
||||
|
||||
## MSBuild `Condition` placement
|
||||
|
||||
On (older versions of?) VS, `Condition` is ignored if placed on a property/item. Create a new `<PropertyGroup/>`/`<ItemGroup/>`.
|
||||
|
|
Loading…
Reference in New Issue