Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,9 @@
<Compile Include="Microsoft\Data\SqlClient\SqlReferenceCollection.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialStream.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialTextReader.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlStatistics.cs" />
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlStatistics.cs">
<Link>Microsoft\Data\SqlClient\SqlStatistics.cs</Link>
</Compile>
<Compile Include="Microsoft\Data\SqlClient\SqlStream.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlTransaction.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlUdtInfo.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialStreamSmi.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialTextReader.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlSequentialTextReaderSmi.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlStatistics.cs" />
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlStatistics.cs">
<Link>Microsoft\Data\SqlClient\SqlStatistics.cs</Link>
</Compile>
<Compile Include="Microsoft\Data\SqlClient\SqlStream.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlTransaction.cs" />
<Compile Include="Microsoft\Data\SqlClient\SqlUdtInfo.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2869,11 +2869,11 @@ public IDictionary RetrieveStatistics()
if (null != Statistics)
{
UpdateStatistics();
return Statistics.GetHashtable();
return Statistics.GetDictionary();
}
else
{
return new SqlStatistics().GetHashtable();
return new SqlStatistics().GetDictionary();
}
}

Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -4617,4 +4617,16 @@
<data name="SqlRetryLogic_InvalidMinMaxPair" xml:space="preserve">
<value>'{0}' is not less than '{1}'; '{2}' cannot be greater than '{3}'.</value>
</data>
</root>
<data name="Arg_ArrayPlusOffTooSmall" xml:space="preserve">
<value>Destination array is not long enough to copy all the items in the collection. Check array index and length.</value>
</data>
<data name="Arg_RankMultiDimNotSupported" xml:space="preserve">
<value>Only single dimensional arrays are supported for the requested action.</value>
</data>
<data name="Arg_RemoveArgNotFound" xml:space="preserve">
<value>Cannot remove the specified item because it was not found in the specified Collection.</value>
</data>
<data name="ArgumentOutOfRange_NeedNonNegNum" xml:space="preserve">
<value>Non-negative number required.</value>
</data>
</root>
Loading