构造函数中的虚拟成员调用
问题: I'm getting a warning from ReSharper about a call to a virtual member from my objects constructor. 我从ReSharper得到警告,关于从对象构造函数调用虚拟成员的信息。 Why would this be something not to do? 为什么这不是要做的事情? 解决方案: 参考一: https://stackoom.com/question/V5W/构造函数中的虚拟成员调用 参考二: https://oldbug.net/q/V5W/Virtual-member-call-in-a-constructor 来源: oschina 链接: https://my.oschina.net/stackoom/blog/4307741