Fix InternalsVisibleTo when it references an assembly with some DebuggableAttribute...
authorKoundinya Veluri <kouvel@microsoft.com>
Mon, 3 Apr 2017 23:35:47 +0000 (16:35 -0700)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2017 23:35:47 +0000 (16:35 -0700)
commitd56d35003011df212900342991884cff3cd92b66
treeb29d14c4dc68ce4f2d3f89850eb03c7c6cc74754
parent30a18c16cef16dd7eda82163414b328054641d24
Fix InternalsVisibleTo when it references an assembly with some DebuggableAttribute flags (dotnet/coreclr#10664)

Fixes dotnet/coreclr#3541
- Mask out the DebuggableAttribute bits from when comparing assembly spec flags for matching an InternalsVisibleTo reference to an assembly

Commit migrated from https://github.com/dotnet/coreclr/commit/cb8cfba3b61f18f81787322f0a2563d118c26b8a
src/coreclr/src/inc/corhdr.h
src/coreclr/src/md/compiler/mdvalidator.cpp
src/coreclr/src/vm/baseassemblyspec.cpp