Why am I getting these strange C# 8 “nullable reference types” warnings: Non-nullable field must contain a non-null value before exiting constructor.?

后端 未结 0 1798
名媛妹妹
名媛妹妹 2021-02-06 12:23

I\'m trying to get a handle on C# 8\'s new nullable compiler checks. The following struct is giving me some strange warnings.

// This struct gives no warnings
pub         


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