Just add a `using System.Diagnostics.CodeAnalysis;` to this file and clean up this duplication.