OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C# 8.0 のnull許容参照型を有効化
[opentween/open-tween.git]
/
OpenTween
/
Models
/
IReadOnlyTabCollection.cs
diff --git
a/OpenTween/Models/IReadOnlyTabCollection.cs
b/OpenTween/Models/IReadOnlyTabCollection.cs
index
01f04d7
..
058ee1b
100644
(file)
--- a/
OpenTween/Models/IReadOnlyTabCollection.cs
+++ b/
OpenTween/Models/IReadOnlyTabCollection.cs
@@
-19,7
+19,10
@@
// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
+#nullable enable
+
using System.Collections.Generic;
using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
namespace OpenTween.Models
{
namespace OpenTween.Models
{
@@
-33,6
+36,6
@@
namespace OpenTween.Models
bool Contains(string tabName);
bool Contains(string tabName);
- bool TryGetValue(string tabName,
out TabModel
tab);
+ bool TryGetValue(string tabName,
[NotNullWhen(true)] out TabModel?
tab);
}
}
}
}