We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1343104 commit 8b1efc5Copy full SHA for 8b1efc5
src/Avalonia.Base/Data/Optional.cs
@@ -20,7 +20,7 @@ namespace Avalonia.Data
20
/// conversion from <typeparamref name="T"/>
21
/// - For an missing value, use <see cref="Empty"/> or simply `default`
22
/// </remarks>
23
- public struct Optional<T>
+ public readonly struct Optional<T>
24
{
25
private readonly T _value;
26
0 commit comments