Fix duplicate cast in RuntimeMethodInfo.GetCustomAttributes() (#20463)
authorNick Craver <nrcraver@gmail.com>
Wed, 17 Oct 2018 16:02:34 +0000 (12:02 -0400)
committerStephen Toub <stoub@microsoft.com>
Wed, 17 Oct 2018 16:02:34 +0000 (12:02 -0400)
commit1f4f005ff53b0d8321c5fb0223d4db8c01e6f212
tree71e7484cf2c8b88f733114e1f02e71cd2182390c
parent8b0019c927b6cfb1d35e91ab7a902c54c233eac8
Fix duplicate cast in RuntimeMethodInfo.GetCustomAttributes() (#20463)

The "as RuntimeType as RuntimeType" cast was redundant here - noticed this when digging into other issues. I couldn't trace how far back this goes due to file moves, but full framework has the same code issue.
src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs