Skip to content

Commit 9e13645

Browse files
authored
Combine shared elements (#519)
1 parent dfad961 commit 9e13645

File tree

12 files changed

+30
-597
lines changed

12 files changed

+30
-597
lines changed

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientLogger.cs" >
3737
<Link>Microsoft\Data\SqlClient\SqlClientLogger.cs</Link>
3838
</Compile>
39+
<Compile Include="..\..\src\Microsoft\Data\Sql\SqlNotificationRequest.cs">
40+
<Link>Microsoft\Data\Sql\SqlNotificationRequest.cs</Link>
41+
</Compile>
42+
<Compile Include="..\..\src\Microsoft\Data\Common\ActivityCorrelator.cs">
43+
<Link>Microsoft\Data\Common\ActivityCorrelator.cs</Link>
44+
</Compile>
3945
<Compile Include="..\..\src\Microsoft\Data\SqlClient\DataClassification\SensitivityClassification.cs">
4046
<Link>Microsoft\Data\SqlClient\DataClassification\SensitivityClassification.cs</Link>
4147
</Compile>
@@ -51,6 +57,9 @@
5157
<Compile Include="..\..\src\Microsoft\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs">
5258
<Link>Microsoft\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs</Link>
5359
</Compile>
60+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs">
61+
<Link>Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs</Link>
62+
</Compile>
5463
<Compile Include="..\..\src\Microsoft\Data\SqlClient\Server\IBinarySerialize.cs">
5564
<Link>Microsoft\Data\SqlClient\Server\IBinarySerialize.cs</Link>
5665
</Compile>
@@ -126,6 +135,9 @@
126135
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlSymmetricKeyCache.cs">
127136
<Link>Microsoft\Data\SqlClient\SqlSymmetricKeyCache.cs</Link>
128137
</Compile>
138+
<Compile Include="..\..\src\Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs">
139+
<Link>Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs</Link>
140+
</Compile>
129141
</ItemGroup>
130142
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true'">
131143
<Compile Include="Microsoft.Data.SqlClient.TypeForwards.cs" />
@@ -183,7 +195,6 @@
183195
<Compile Include="Microsoft\Data\DataException.cs" />
184196
<Compile Include="Microsoft\Data\OperationAbortedException.cs" />
185197
<Compile Include="Microsoft\Data\SqlClient\SqlDbColumn.cs" />
186-
<Compile Include="Microsoft\Data\Common\ActivityCorrelator.cs" />
187198
<Compile Include="$(CommonPath)\Microsoft\Data\Common\AdapterUtil.cs">
188199
<Link>Microsoft\Data\Common\AdapterUtil.cs</Link>
189200
</Compile>
@@ -238,7 +249,6 @@
238249
<Compile Include="Microsoft\Data\ProviderBase\DbConnectionPool.cs" />
239250
<Compile Include="Microsoft\Data\ProviderBase\DbConnectionPoolIdentity.cs" />
240251
<Compile Include="Microsoft\Data\ProviderBase\DbConnectionPoolOptions.cs" />
241-
<Compile Include="Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs" />
242252
<Compile Include="Microsoft\Data\SqlClient\ActiveDirectoryNativeAuthenticationProvider.cs" />
243253
<Compile Include="Microsoft\Data\SqlClient\SqlAuthenticationProviderManager.cs" />
244254
<Compile Include="Microsoft\Data\SqlClient\SqlAuthenticationToken.cs" />
@@ -247,7 +257,6 @@
247257
<Compile Include="Microsoft\Data\SqlClient\Server\SqlMetaData.cs" />
248258
<Compile Include="Microsoft\Data\SqlClient\Server\SqlMethodAttribute.cs" />
249259
<Compile Include="Microsoft\Data\SqlClient\Server\SqlNorm.cs" />
250-
<Compile Include="Microsoft\Data\Sql\SqlNotificationRequest.cs" />
251260
<Compile Include="Microsoft\Data\SqlClient\Server\SqlSer.cs" />
252261
<Compile Include="Microsoft\Data\SqlClient\Server\SqlUserDefinedAggregateAttribute.cs" />
253262
<Compile Include="Microsoft\Data\SqlClient\Server\SqlUserDefinedTypeAttribute.cs" />
@@ -315,7 +324,6 @@
315324
<Compile Include="Microsoft\Data\SqlClient\TdsParserStaticMethods.cs" />
316325
<Compile Include="Microsoft\Data\SqlClient\TdsRecordBufferSetter.cs" />
317326
<Compile Include="Microsoft\Data\SqlClient\TdsValueSetter.cs" />
318-
<Compile Include="Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs" />
319327
<Compile Include="$(CommonPath)\Microsoft\Data\Common\SQLResource.cs">
320328
<Link>Microsoft\Data\SQLTypes\SQLResource.cs</Link>
321329
</Compile>

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlClientLogger.cs

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

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@
9393
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientLogger.cs" >
9494
<Link>Microsoft\Data\SqlClient\SqlClientLogger.cs</Link>
9595
</Compile>
96+
<Compile Include="..\..\src\Microsoft\Data\Common\ActivityCorrelator.cs">
97+
<Link>>Microsoft\Data\Common\ActivityCorrelator.cs</Link>
98+
</Compile>
99+
<Compile Include="..\..\src\Microsoft\Data\Sql\SqlNotificationRequest.cs">
100+
<Link>Microsoft\Data\Sql\SqlNotificationRequest.cs</Link>
101+
</Compile>
96102
<Compile Include="..\..\src\Microsoft\Data\SqlClient\DataClassification\SensitivityClassification.cs">
97103
<Link>Microsoft\Data\SqlClient\DataClassification\SensitivityClassification.cs</Link>
98104
</Compile>
@@ -108,6 +114,9 @@
108114
<Compile Include="..\..\src\Microsoft\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs">
109115
<Link>Microsoft\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs</Link>
110116
</Compile>
117+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs">
118+
<Link>Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs</Link>
119+
</Compile>
111120
<Compile Include="..\..\src\Microsoft\Data\SqlClient\Server\IBinarySerialize.cs">
112121
<Link>Microsoft\Data\SqlClient\Server\IBinarySerialize.cs</Link>
113122
</Compile>
@@ -183,6 +192,9 @@
183192
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlSymmetricKeyCache.cs">
184193
<Link>Microsoft\Data\SqlClient\SqlSymmetricKeyCache.cs</Link>
185194
</Compile>
195+
<Compile Include="..\..\src\Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs">
196+
<Link>Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs</Link>
197+
</Compile>
186198
</ItemGroup>
187199
<ItemGroup>
188200
<Compile Include="Microsoft\Data\Interop\SNINativeMethodWrapper.cs" />
@@ -193,7 +205,6 @@
193205
<Compile Include="Microsoft\Data\SqlClient\ApplicationIntent.cs" />
194206
<Compile Include="Microsoft\Data\SqlClient\assemblycache.cs" />
195207
<Compile Include="Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs" />
196-
<Compile Include="Microsoft\Data\SqlClient\ActiveDirectoryAuthenticationTimeoutRetryHelper.cs" />
197208
<Compile Include="Microsoft\Data\SqlClient\EnclaveDelegate.cs" />
198209
<Compile Include="Microsoft\Data\SqlClient\EnclaveProviderBase.cs" />
199210
<Compile Include="Microsoft\Data\SqlClient\EnclaveSessionCache.cs" />
@@ -296,7 +307,6 @@
296307
<Compile Include="Microsoft\Data\SqlClient\TdsRecordBufferSetter.cs" />
297308
<Compile Include="Microsoft\Data\SqlClient\TdsValueSetter.cs" />
298309
<Compile Include="Microsoft\Data\SqlClient\SqlClientWrapperSmiStreamChars.cs" />
299-
<Compile Include="Microsoft\Data\SqlTypes\SqlTypeWorkarounds.cs" />
300310
<Compile Include="Microsoft\Data\SqlTypes\SqlStreamChars.cs" />
301311
<Compile Include="Microsoft\Data\DataException.cs" />
302312
<Compile Include="Microsoft\Data\Common\NativeMethods.cs" />
@@ -311,7 +321,6 @@
311321
<Compile Include="Common\src\Microsoft\Data\Common\MultipartIdentifier.cs" />
312322
<Compile Include="Common\src\Microsoft\Data\Common\NameValuePermission.cs" />
313323
<Compile Include="Microsoft\Data\Common\AdapterSwitches.cs" />
314-
<Compile Include="Microsoft\Data\Common\ActivityCorrelator.cs" />
315324
<Compile Include="Microsoft\Data\Common\AdapterUtil.cs" />
316325
<Compile Include="Microsoft\Data\Common\DbConnectionOptions.cs" />
317326
<Compile Include="Microsoft\Data\Common\DbConnectionStringCommon.cs" />
@@ -368,7 +377,6 @@
368377
<Compile Include="Microsoft\Data\SqlClient\Server\sqlser.cs" />
369378
<Compile Include="Microsoft\Data\Sql\SqlGenericUtil.cs" />
370379
<Compile Include="Microsoft\Data\SqlClient\Server\sqlnorm.cs" />
371-
<Compile Include="Microsoft\Data\Sql\SqlNotificationRequest.cs" />
372380
<Compile Include="Microsoft\Data\ProviderBase\FieldNameLookup.cs" />
373381
<Compile Include="Microsoft\Data\OperationAbortedException.cs" />
374382
</ItemGroup>

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/Common/ActivityCorrelator.cs

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

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/Sql/SqlNotificationRequest.cs

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

0 commit comments

Comments
 (0)