Skip to content

Commit

Permalink
Revert "Test Change in Pragma Directives"
Browse files Browse the repository at this point in the history
This reverts commit 17f22ba.
  • Loading branch information
H-Yeo committed Jan 31, 2024
1 parent 4fe316e commit 6779d29
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
<Compile Include="Microsoft.Data.SqlClient.cs" />
<Compile Include="Microsoft.Data.SqlClient.Manual.cs" />
</ItemGroup>
<!--<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">-->
<ItemGroup>
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.cs" />
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.NetCoreApp.cs" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#if NET6_0_OR_GREATER

namespace Microsoft.Data.SqlClient
namespace System.Data.Common
{
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
public partial class SqlBatchCommand
Expand All @@ -9,5 +7,3 @@ public partial class SqlBatchCommand
public Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting ColumnEncryptionSetting { get { throw null; } set { } }
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET6_0_OR_GREATER

namespace Microsoft.Data.SqlClient
{
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatch.xml' path='docs/members[@name="SqlBatch"]/SqlBatch/*'/>
Expand Down Expand Up @@ -127,5 +125,3 @@ public sealed partial class SqlException
public new Microsoft.Data.SqlClient.SqlBatchCommand BatchCommand { get { throw null; } }
}
}

#endif

0 comments on commit 6779d29

Please sign in to comment.