Code inspection: Operator 'is'/'Type Of ... Is ...' can be used
This inspection reports a type comparison written as GetType() == typeof(...) when a simpler is check can be used. Using is makes the intent clearer and reads more naturally.
Example
if (item.GetType() == typeof(Order))
{
}
if (item is Order)
{
}
Quick-fix
The quick-fix replaces the type comparison with is.
01 April 2026