fix(build): Attempt to fix possible nullable warnings as errors with releases (#418)
This commit is contained in:
parent
08f05afd01
commit
87764ca968
8 changed files with 23 additions and 11 deletions
|
|
@ -492,6 +492,7 @@ namespace Server.Collections
|
|||
return index;
|
||||
}
|
||||
|
||||
#nullable enable
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
private int TryInsert(int? index, TValue value)
|
||||
{
|
||||
|
|
@ -525,6 +526,7 @@ namespace Server.Collections
|
|||
++_version;
|
||||
return actualIndex;
|
||||
}
|
||||
#nullable disable
|
||||
|
||||
// Returns the index of the next entry in the bucket
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue