Annotate DispatchProxy interface type with DynamicallyAccessedMembers.All (#48011)
authorEric Erhardt <eric.erhardt@microsoft.com>
Tue, 9 Feb 2021 08:36:42 +0000 (02:36 -0600)
committerGitHub <noreply@github.com>
Tue, 9 Feb 2021 08:36:42 +0000 (09:36 +0100)
commit9f14602fa7e28db3b52462150df4cac76ba5825c
tree55d0276fefb2dd21d354b05a0988323e59101ad5
parent7a02164cd0a1944fc9f23d5064eef6561693401f
Annotate DispatchProxy interface type with DynamicallyAccessedMembers.All (#48011)

This ensures the trimmer will warn correctly if the interface type has trimming annotations itself.
src/libraries/System.Reflection.DispatchProxy/ref/System.Reflection.DispatchProxy.cs
src/libraries/System.Reflection.DispatchProxy/src/System/Reflection/DispatchProxy.cs
src/libraries/System.Reflection.DispatchProxy/src/System/Reflection/DispatchProxyGenerator.cs