== null -> is null

This commit is contained in:
Bond_009
2023-08-22 21:14:54 +02:00
parent d92e9ae85e
commit 18a311d32f
14 changed files with 17 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ public class PipeDelimitedArrayModelBinder : IModelBinder
var typedValueIndex = 0;
for (var i = 0; i < parsedValues.Length; i++)
{
if (parsedValues[i] != null)
if (parsedValues[i] is not null)
{
typedValues.SetValue(parsedValues[i], typedValueIndex);
typedValueIndex++;