你的位置: 码友网首页 / 资讯源列表 / C# 8.0 nullable references: when methods don't return

关于[C# 8.0 nullable references: when methods don't return]的摘要:

This is the last in the sub-series on attributes for getting better results from C# 8's nullable references feature. (Next time I'll be getting back to some other aspects of nullable references.) As always, the goal here is to annotate our code with attributes that enable the C# compiler to do a better job with its nullable reference analysis—detecting more real problems, and reporting fewer false positives.

原文地址: https://endjin.com/blog/2020/08/dotnet-csharp-8-nullable-references-when-methods-dont-return

收录时间: 2020-08-10 浏览量: 1730 分类: C#开发

| 0 收藏 | 0