Simplify how CheckGCMode gets the Marshal type (#54000)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 10 Jun 2021 17:25:33 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 17:25:33 +0000 (10:25 -0700)
commit50d2e31ae1e100170300833749f4caeef020b794
treebcdd9ecd6a83b369a5dc285ea4873a5281a990a9
parent365ba30f404d807bcc5c540528f7bb71b1098dff
Simplify how CheckGCMode gets the Marshal type (#54000)

Unless I'm missing something, this is equivalent. The previous version was incomprehensible to static analysis.
src/tests/Interop/common/CheckGCMode.cs