Skip to content

Commit c070cd1

Browse files
committed
rolled back System.Buffers to 4.4.0 to fix Windows PowerShell support (#2)
1 parent 572a378 commit c070cd1

File tree

5 files changed

+40
-39
lines changed

5 files changed

+40
-39
lines changed

DnsClient-PS/DnsClient-PS.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DotNetFrameworkVersion = '4.7.1'
1212

1313
# Assemblies that must be loaded prior to importing this module
1414
RequiredAssemblies = @(
15-
'lib\System.Buffers.4.5.1-netstandard2.0.dll'
15+
'lib\System.Buffers.4.4.0-netstandard2.0.dll'
1616
'lib\DnsClient.1.7.0-netstandard2.0.dll'
1717
)
1818

27.3 KB
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?><span>
2+
<doc>
3+
<assembly>
4+
<name>System.Buffers</name>
5+
</assembly>
6+
<members>
7+
<member name="T:System.Buffers.ArrayPool`1">
8+
<summary>Provides a resource pool that enables reusing instances of type <see cref="T[]"></see>.</summary>
9+
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
10+
</member>
11+
<member name="M:System.Buffers.ArrayPool`1.#ctor">
12+
<summary>Initializes a new instance of the <see cref="ArrayPool{T}"></see> class.</summary>
13+
</member>
14+
<member name="M:System.Buffers.ArrayPool`1.Create">
15+
<summary>Creates a new instance of the <see cref="ArrayPool{T}"></see> class.</summary>
16+
<returns>A new instance of the <see cref="ArrayPool{T}"></see> class.</returns>
17+
</member>
18+
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
19+
<summary>Creates a new instance of the <see cref="ArrayPool{T}"></see> class using the specifed configuration.</summary>
20+
<param name="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
21+
<param name="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
22+
<returns>A new instance of the <see cref="ArrayPool{T}"></see> class with the specified configuration.</returns>
23+
</member>
24+
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
25+
<summary>Retrieves a buffer that is at least the requested length.</summary>
26+
<param name="minimumLength">The minimum length of the array.</param>
27+
<returns>An array of type <see cref="T[]"></see> that is at least <paramref name="minimumLength">minimumLength</paramref> in length.</returns>
28+
</member>
29+
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
30+
<summary>Returns an array to the pool that was previously obtained using the <see cref="Rent"></see> method on the same <see cref="ArrayPool{T}"></see> instance.</summary>
31+
<param name="array">A buffer to return to the pool that was previously obtained using the <see cref="Rent"></see> method.</param>
32+
<param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="bufferLength">bufferLength</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <see cref="Return"></see> method will clear the <paramref name="array">array</paramref> of its contents so that a subsequent caller using the <see cref="Rent"></see> method will not see the content of the previous caller. If <paramref name="bufferLength">bufferLength</paramref> is set to false or if the pool will release the buffer, the array's contents are left unchanged.</param>
33+
</member>
34+
<member name="P:System.Buffers.ArrayPool`1.Shared">
35+
<summary>Gets a shared <see cref="ArrayPool{T}"></see> instance.</summary>
36+
<returns>A shared <see cref="ArrayPool{T}"></see> instance.</returns>
37+
</member>
38+
</members>
39+
</doc></span>
-20.9 KB
Binary file not shown.

DnsClient-PS/lib/System.Buffers.4.5.1-netstandard2.0.xml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)