Replace DateTime.UtcNow
or DateTime.Now
with DateTimeOffset.UtcNow
or DateTimeOffset.Now
to avoid an implicit conversion.
Sample(DateTime.UtcNow); // non-compliant
Sample(DateTimeOffset.UtcNow); // ok
void Sample(DateTimeOffset datetime) { }