diff --git a/src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj b/src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj index 94151cc..74754f6 100644 --- a/src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj +++ b/src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj @@ -12,11 +12,11 @@ - + - - + + diff --git a/src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj b/src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj index a748760..026d59b 100644 --- a/src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj +++ b/src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj @@ -12,7 +12,11 @@ - + + + + + diff --git a/src/Berrysoft.Unsafe/UnsafeMethods.cs b/src/Berrysoft.Unsafe/UnsafeMethods.cs index 4a3cc50..1a70191 100644 --- a/src/Berrysoft.Unsafe/UnsafeMethods.cs +++ b/src/Berrysoft.Unsafe/UnsafeMethods.cs @@ -81,7 +81,6 @@ public static void StackAlloc(int size, Action> action) byte* ptr = stackalloc byte[size * SizeOf()]; action(new Pointer(ptr)); } -#if NETCOREAPP || NETSTANDARD /// /// Get a of a . /// @@ -100,7 +99,6 @@ public static void StackAlloc(int size, Action> action) /// A of a . [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ReadOnlySpan AsReadOnlySpan(this Pointer ptr, int size) => new ReadOnlySpan(ptr.Ptr, size); -#endif /// /// Initializes a block of memory at the given location with a given initial value. /// diff --git a/target.props b/target.props index 50549b3..744515c 100644 --- a/target.props +++ b/target.props @@ -7,13 +7,13 @@ latest - 1.1.208.0 - 1.1.208.0 + 1.1.211.0 + 1.1.211.0 ..\..\bin\$(Configuration) - 1.1.208-preview3 + 1.1.211-preview4 Berrysoft Copyright (c) 2018 Berrysoft true diff --git a/tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj b/tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj index b85a724..d690e4f 100644 --- a/tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj +++ b/tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj @@ -9,8 +9,8 @@ - - + + diff --git a/tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj b/tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj index 6a0062e..b81b700 100644 --- a/tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj +++ b/tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj @@ -9,8 +9,8 @@ - - + + diff --git a/tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj b/tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj index b643bc0..0685e99 100644 --- a/tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj +++ b/tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj @@ -9,8 +9,8 @@ - - + + diff --git a/tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj b/tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj index fb29f7c..ab18542 100644 --- a/tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj +++ b/tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj @@ -9,8 +9,8 @@ - - + +