.NET 7 compilation fixes.

This commit is contained in:
Pieter-Jan Briers
2022-11-10 01:26:05 +01:00
parent 3b337bf88d
commit 31d68dcd49
4 changed files with 26 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ Template for new versions:
### Bugfixes
* Made entity deletion more resilient against exceptions. Should fix several bugs.
*None yet*
### Other
@@ -27,6 +27,27 @@ Template for new versions:
-->
## Master
### Breaking changes
*None yet*
### New features
* Fixes for compiling & running on .NET 7. You'll still have to edit a bunch of project files to enable this though.
### Bugfixes
*None yet*
### Other
*None yet*
### Internal
*None yet*
## 0.62.1.0
@@ -102,7 +123,7 @@ Template for new versions:
### Internal
* Removed redundant grid-init physics logic
* Removed redundant grid-init physics logic
* Modified garbage collection for entity spawning profiling.
## 0.59.0.0

View File

@@ -465,6 +465,7 @@ Types:
AsyncVoidMethodBuilder: { All: True }
CallerArgumentExpressionAttribute: { All: True }
CompilationRelaxationsAttribute: { All: True }
CompilerFeatureRequiredAttribute: { All: True }
CompilerGeneratedAttribute: { All: True }
DefaultInterpolatedStringHandler: { All: True }
ExtensionAttribute: { All: True }

View File

@@ -192,7 +192,7 @@ namespace Robust.Shared.Physics.Collision
public Vector2 WB;
}
internal ref struct Simplex
internal struct Simplex
{
// Made it a class from a struct as it seemed silly to be a struct considering it's being mutated constantly.