Skip to content

Commit b65c8c2

Browse files
committed
palingennesia
1 parent 0be8880 commit b65c8c2

15 files changed

+24
-12
lines changed

Proteus.Core/BinaryReader.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Text;
6-
using Chresimos.Core;
6+
using Chresimos.Core.Utils;
77

88
namespace Proteus.Core
99
{

Proteus.Core/BinarySerializer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using Chresimos.Core;
4+
using Chresimos.Core.Utils;
55

66
namespace Proteus.Core
77
{

Proteus.Core/BinaryWriter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections;
33
using System.Collections.Generic;
44
using System.Text;
5-
using Chresimos.Core;
5+
using Chresimos.Core.Utils;
66

77
namespace Proteus.Core
88
{

Proteus.Core/LoadedAssembliesGenericTypesProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Reflection;
5-
using Chresimos.Core;
5+
using Chresimos.Core.Utils;
66

77
namespace Proteus.Core
88
{

Proteus.Core/Proteus.Core.csproj

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<RepositoryUrl>https://github.com/Akronae/Proteus</RepositoryUrl>
1414
</PropertyGroup>
1515
<ItemGroup>
16-
<PackageReference Include="Chresimos.Core" Version="2019.10.4.154236" />
1716
<PackageReference Include="FluentAssertions" Version="5.9.0" />
1817
</ItemGroup>
1918

@@ -23,5 +22,11 @@
2322
</Target>
2423

2524
<!-- Third party libraries -->
26-
25+
<ItemGroup>
26+
<Reference Include="Chresimos.Core">
27+
<HintPath>..\..\Chresimos\Chresimos.Core\bin\Debug\netstandard2.0\Chresimos.Core.dll</HintPath>
28+
<SpecificVersion>false</SpecificVersion>
29+
<PrivateAssets>all</PrivateAssets>
30+
</Reference>
31+
</ItemGroup>
2732
</Project>

Proteus.Core/Serializer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Reflection;
5-
using Chresimos.Core;
5+
using Chresimos.Core.Utils;
66

77
namespace Proteus.Core
88
{
@@ -68,7 +68,7 @@ public byte[] Serialize (object obj, Type objectType, out int serializedLength)
6868
}
6969

7070
serializedLength = writer.BufferIndex;
71-
return writer.Buffer;
71+
return writer.UsedBuffer;
7272
}
7373

7474
public object Deserialize (Type type, byte[] data, out int bytesConsumed)

Proteus.Core/VoidGenericTypesProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System;
2-
using Chresimos.Core;
2+
using Chresimos.Core.Utils;
33

44
namespace Proteus.Core
55
{

Proteus.Test/Proteus.Test.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,11 @@
1616
<ProjectReference Include="..\Proteus.Core\Proteus.Core.csproj" />
1717
</ItemGroup>
1818

19+
<ItemGroup>
20+
<Reference Include="Chresimos.Core">
21+
<HintPath>..\..\Chresimos\Chresimos.Core\bin\Debug\netstandard2.0\Chresimos.Core.dll</HintPath>
22+
<SpecificVersion>false</SpecificVersion>
23+
<PrivateAssets>all</PrivateAssets>
24+
</Reference>
25+
</ItemGroup>
1926
</Project>

Proteus.Test/Serializer/Collection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections;
22
using System.Collections.Generic;
3-
using Chresimos.Core;
3+
using Chresimos.Core.Utils;
44
using Xunit;
55

66
namespace Proteus.Test.Serializer

Proteus.Test/Serializer/ComplexObject.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3-
using Chresimos.Core;
3+
using Chresimos.Core.Utils;
44
using FluentAssertions;
55
using Proteus.Core;
66
using Xunit;

Proteus.Test/Serializer/Generic.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3-
using Chresimos.Core;
3+
using Chresimos.Core.Utils;
44
using FluentAssertions;
55
using Proteus.Core;
66
using Xunit;
10.6 KB
Binary file not shown.
10.6 KB
Binary file not shown.
10.6 KB
Binary file not shown.
10.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)