Skip to content

Commit c41dec3

Browse files
committed
merge main
1 parent 1781d92 commit c41dec3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@
146146
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ApplicationIntent.cs">
147147
<Link>Microsoft\Data\SqlClient\ApplicationIntent.cs</Link>
148148
</Compile>
149+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ArrayBufferWriter.cs">
150+
<Link>Microsoft\Data\SqlClient\ArrayBufferWriter.cs</Link>
151+
</Compile>
149152
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AssemblyRef.cs">
150153
<Link>Microsoft\Data\SqlClient\AssemblyRef.cs</Link>
151154
</Compile>
@@ -503,9 +506,6 @@
503506
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlObjectPool.cs">
504507
<Link>Microsoft\Data\SqlClient\SqlObjectPool.cs</Link>
505508
</Compile>
506-
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ArrayBufferWriter.cs">
507-
<Link>Microsoft\Data\SqlClient\ArrayBufferWriter.cs</Link>
508-
</Compile>
509509
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlParameter.cs">
510510
<Link>Microsoft\Data\SqlClient\SqlParameter.cs</Link>
511511
</Compile>

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,6 @@
265265
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlObjectPool.cs">
266266
<Link>Microsoft\Data\SqlClient\SqlObjectPool.cs</Link>
267267
</Compile>
268-
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ArrayBufferWriter.cs">
269-
<Link>Microsoft\Data\SqlClient\ArrayBufferWriter.cs</Link>
270-
</Compile>
271268
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AAsyncCallContext.cs">
272269
<Link>Microsoft\Data\SqlClient\AAsyncCallContext.cs</Link>
273270
</Compile>
@@ -292,6 +289,9 @@
292289
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AlwaysEncryptedKeyConverter.cs">
293290
<Link>Microsoft\Data\SqlClient\AlwaysEncryptedKeyConverter.cs</Link>
294291
</Compile>
292+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ArrayBufferWriter.cs">
293+
<Link>Microsoft\Data\SqlClient\ArrayBufferWriter.cs</Link>
294+
</Compile>
295295
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs">
296296
<Link>Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs</Link>
297297
</Compile>

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ArrayBufferWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if NETFRAMEWORK || NETSTANDARD
5+
#if NETFRAMEWORK
66

77
using System;
88
using System.Buffers;

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ internal void TdsLogin(
192192
clientInterfaceName,
193193
sspiWriter is { } ? sspiWriter.WrittenSpan : ReadOnlySpan<byte>.Empty);
194194

195-
if (sspiWriter is { })
195+
if (sspiWriter is not null)
196196
{
197197
_writers.Return(sspiWriter);
198198
}

0 commit comments

Comments
 (0)