"Extended Property Pattern in Is-Expression"

if (user is { LastAppraisal.Rating: 100 } or Manager { KeyMetrics.FinancialTargetStatus: TargetStatus.AboveTarget }) {
	GiveBonus();
}


Code snippet taken from "Two Decades of C#: A Reference - C# 10".