Skip to content

Commit f2ebfe9

Browse files
HaselnussbomberNotAdam
authored andcommitted
Use HasValue
1 parent fe15485 commit f2ebfe9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Lumina/Excel/RowRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public bool TryGetValue( out T row )
5252
{
5353
var valueNullable = ValueNullable;
5454
row = valueNullable ?? default;
55-
return valueNullable != null;
55+
return valueNullable.HasValue;
5656
}
5757

5858
/// <summary>

src/Lumina/Excel/SubrowRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public bool TryGetValue( out SubrowCollection<T> row )
4848
{
4949
var valueNullable = ValueNullable;
5050
row = valueNullable ?? default;
51-
return valueNullable != null;
51+
return valueNullable.HasValue;
5252
}
5353

5454
/// <summary>

0 commit comments

Comments
 (0)