fix: Fixes .net 6 compilation (#860)
This commit is contained in:
parent
c8043e8dd2
commit
c8a6d4c696
7 changed files with 36 additions and 17 deletions
|
|
@ -114,7 +114,7 @@ namespace Server.Items
|
|||
[Serializable(0, false)]
|
||||
public partial class AnkhWest : Item
|
||||
{
|
||||
[SerializableField(0)]
|
||||
[SerializableField(0, getter: "private", setter: "private")]
|
||||
private InternalItem _item;
|
||||
|
||||
[Constructible]
|
||||
|
|
@ -184,7 +184,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
private class InternalItem : Item
|
||||
private partial class InternalItem : Item
|
||||
{
|
||||
[SerializableField(0)]
|
||||
private AnkhWest _item;
|
||||
|
|
@ -260,7 +260,7 @@ namespace Server.Items
|
|||
[Serializable(0, false)]
|
||||
public partial class AnkhNorth : Item
|
||||
{
|
||||
[SerializableField(0)]
|
||||
[SerializableField(0, getter: "private", setter: "private")]
|
||||
private InternalItem _item;
|
||||
|
||||
[Constructible]
|
||||
|
|
@ -332,7 +332,7 @@ namespace Server.Items
|
|||
|
||||
[TypeAlias("Server.Items.AnkhEast+InternalItem")]
|
||||
[Serializable(0, false)]
|
||||
private class InternalItem : Item
|
||||
private partial class InternalItem : Item
|
||||
{
|
||||
[SerializableField(0)]
|
||||
private AnkhNorth _item;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</ProjectReference>
|
||||
<PackageReference Include="MailKit" Version="2.15.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.0" />
|
||||
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.5.0" />
|
||||
<PackageReference Include="Argon2.Bindings" Version="1.9.1" />
|
||||
<PackageReference Include="Zstd.Binaries" Version="1.0.0" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue