Skip to content

Commit 90250f7

Browse files
committed
Simplify 'is null' check
1 parent f788948 commit 90250f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ internal static Func<TSyntax, SeparatedSyntaxListWrapper<TProperty>, TSyntax> Cr
232232
throw new NullReferenceException();
233233
}
234234

235-
if (ReferenceEquals(newValue, null))
235+
if (newValue is null)
236236
{
237237
return syntax;
238238
}

0 commit comments

Comments
 (0)