Optimize the SqlGuid struct (#72549)
authorMichał Petryka <35800402+MichalPetryka@users.noreply.github.com>
Mon, 30 Jan 2023 17:35:49 +0000 (18:35 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 17:35:49 +0000 (09:35 -0800)
commitbf5afd4480615ee5c7e114669c7a14eea1436348
treeedfaff4e16f9fe23349e5ee2cf81f79b3af41139
parent5d604a8e312f6dc48139747871fa3a1ae8ab3f3d
Optimize the SqlGuid struct (#72549)

* Optimize the SqlGuid struct

Optimizes the SqlGuid struct according to the idea
from #51836.

* Update SQLGuid.cs

* Apply suggestions

* Update SQLGuid.cs

* Update SQLGuid.cs

* Update ref assembly

* Update System.Data.Common.cs

* Apply suggestions

* Update SQLGuid.cs

* Update SQLGuid.cs

* Update SQLGuid.cs

* Add a comment about binary serialization

* Expand on the comment for backwards-compatible binary serialization

---------

Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
src/libraries/System.Data.Common/ref/System.Data.Common.cs
src/libraries/System.Data.Common/src/System/Data/SQLTypes/SQLGuid.cs