Fix x86 packing issues in System.Data.OleDb (#33899)
authorFreddyD-GH <12990709+FreddyD-GH@users.noreply.github.com>
Fri, 27 Mar 2020 18:05:27 +0000 (14:05 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2020 18:05:27 +0000 (11:05 -0700)
commit3ac7c4d5c4eb7f0b88d3e94f9219de6446872ec1
treef35efeaa8ed1fe66752ad7d247c2ab2a98b4eb75
parent4c750352a2e0a8fd3eae830e81e30e0929e62827
Fix x86 packing issues in System.Data.OleDb (#33899)

* fix x86 packing issues

* revert unintentional change

* Fix formatting

Fix formatting

* Inline static initializations

* Fix bugs in static intialization

* Move all code to OleDbStruct.cs

* Rename the utility Type

* Inlining method returns

* add tests to test the x86 APIs

Co-authored-by: FreddyD <FreddyD@GIT>
Co-authored-by: Saurabh Singh <saurabh.singh@microsoft.com>
Co-authored-by: Saurabh Singh <sausing@microsoft.com>
src/libraries/System.Data.OleDb/src/DbPropSet.cs
src/libraries/System.Data.OleDb/src/OleDbCommand.cs
src/libraries/System.Data.OleDb/src/OleDbConnection.cs
src/libraries/System.Data.OleDb/src/OleDbConnectionInternal.cs
src/libraries/System.Data.OleDb/src/OleDbConnectionStringBuilder.cs
src/libraries/System.Data.OleDb/src/OleDbDataReader.cs
src/libraries/System.Data.OleDb/src/OleDbStruct.cs
src/libraries/System.Data.OleDb/src/OleDb_Util.cs
src/libraries/System.Data.OleDb/src/PropertyInfoSet.cs
src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs