Remove unused locals in System.Data.OleDb (dotnet/corefx#42485)
authorEriawan Kusumawardhono <eriawan@live.com>
Wed, 13 Nov 2019 19:23:52 +0000 (02:23 +0700)
committermsftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
Wed, 13 Nov 2019 19:23:52 +0000 (19:23 +0000)
commitffd2c82e2affc42702ec3e62adda7e8bf1f50a52
tree2212cd0f203365b172e097c26b62a472bc7fe2f9
parentc32e7a73f23fd3d690eef2a451969907e534c390
Remove unused locals in System.Data.OleDb (dotnet/corefx#42485)

* emove unused locals in System.Data.OleDband keep some logic using discard. Partially fix issue dotnet/corefx#39962

* Update src/System.Data.OleDb/src/OleDbDataReader.cs

update as suggested (OleDbDataReader)

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
* Update src/System.Data.OleDb/src/OleDbTransaction.cs

Done update as suggested

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
* Update src/System.Data.OleDb/src/RowBinding.cs

Done update as suggested (RowDataBinding)

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
* Update src/System.Data.OleDb/src/RowBinding.cs

Done as suggested

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
* Update src/System.Data.OleDb/src/SafeHandles.cs

Done updating as suggested (SafeHandles)

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
Commit migrated from https://github.com/dotnet/corefx/commit/eceea8b4284ca42d8bd0134414b43c835bd80e4c
src/libraries/System.Data.OleDb/src/OleDbConnection.cs
src/libraries/System.Data.OleDb/src/OleDbConnectionInternal.cs
src/libraries/System.Data.OleDb/src/OleDbDataAdapter.cs
src/libraries/System.Data.OleDb/src/OleDbDataReader.cs
src/libraries/System.Data.OleDb/src/OleDbTransaction.cs
src/libraries/System.Data.OleDb/src/RowBinding.cs
src/libraries/System.Data.OleDb/src/SafeHandles.cs