Skip to content

Commit

Permalink
Move the netcore version of SqlReferenceCollection.cs into share src …
Browse files Browse the repository at this point in the history
…and updated references in the csprojs and fix compiler error removing internal method with no references (#1303)
  • Loading branch information
lcheunglci committed Oct 15, 2021
1 parent 04cdeff commit 1dc9647
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlQueryMetadataCache.cs">
<Link>Microsoft\Data\SqlClient\SqlQueryMetadataCache.cs</Link>
</Compile>
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlReferenceCollection.cs">
<Link>Microsoft\Data\SqlClient\SqlReferenceCollection.cs</Link>
</Compile>
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlRowUpdatedEvent.cs">
<Link>Microsoft\Data\SqlClient\SqlRowUpdatedEvent.cs</Link>
</Compile>
Expand Down Expand Up @@ -557,7 +560,6 @@
<Compile Include="Microsoft\Data\SqlClient\SqlInternalTransaction.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlMetadataFactory.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlParameter.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlReferenceCollection.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialStream.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialTextReader.cs" />
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlStatistics.cs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlQueryMetadataCache.cs">
<Link>Microsoft\Data\SqlClient\SqlQueryMetadataCache.cs</Link>
</Compile>
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlReferenceCollection.cs">
<Link>Microsoft\Data\SqlClient\SqlReferenceCollection.cs</Link>
</Compile>
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlRowUpdatedEvent.cs">
<Link>Microsoft\Data\SqlClient\SqlRowUpdatedEvent.cs</Link>
</Compile>
Expand Down Expand Up @@ -546,7 +549,6 @@
<Compile Include="Microsoft\Data\SqlClient\sqlinternaltransaction.cs" />
<Compile Include="Microsoft\Data\SqlClient\sqlmetadatafactory.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlParameter.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlReferenceCollection.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialStream.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialStreamSmi.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialTextReader.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,17 +708,6 @@ internal SqlDataReader FindLiveReader(SqlCommand command)
return reader;
}

internal SqlCommand FindLiveCommand(TdsParserStateObject stateObj)
{
SqlCommand command = null;
SqlReferenceCollection referenceCollection = (SqlReferenceCollection)ReferenceCollection;
if (null != referenceCollection)
{
command = referenceCollection.FindLiveCommand(stateObj);
}
return command;
}

static internal TdsParser GetBestEffortCleanupTarget(SqlConnection connection)
{
if (null != connection)
Expand Down

This file was deleted.

0 comments on commit 1dc9647

Please sign in to comment.