Why C# compiler does not throw The given expression is never of the provided type warning

后端 未结 0 1414
暗喜
暗喜 2021-01-24 01:20

Code below is compiled using C# 9 compiler in Visual Studio 2019.

According to Why does VS warn me that typeof(T) is never the provided type in a generic method where the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题