You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but SqlCommand.Prepare() does not follow that pattern - it contains StopTimer() call outside finally so StopTimer() is not guaranteed to run should useful code throw an exception.
The text was updated successfully, but these errors were encountered:
All methods of
System.Data.SqlClient.SqlCommand
which callSqlStatistics.StartTimer()
go like this:but
SqlCommand.Prepare()
does not follow that pattern - it containsStopTimer()
call outsidefinally
soStopTimer()
is not guaranteed to run should useful code throw an exception.The text was updated successfully, but these errors were encountered: