Compiler Value Type Resolution and Hardcoded “0” Integer Values

后端 未结 5 898
野的像风
野的像风 2020-11-28 11:50

First, a bit of background. Read the question and accepted answer posted here for a specific scenario for my question. I\'m not sure if other, similar cases exist but this

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 12:53

    This is apparently a known behavior and affects any function overloads where there is both an enumeration and object type. I don't understand it all, but Eric Lippert summed it up quite nicely on his blog

提交回复
热议问题