New rule S6588: Use DateTime(Offset).UnixEpoch
instead of pointing to that date using the constructor
#7080
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: New Feature
This hasn't been here before.
Projects
Milestone
Implement new rule S6588: Use DateTime(Offset).UnixEpoch instead of pointing to that date using the constructor.
This rule should raise when a new
DateTime
,DateTimeOffset
orDateOnly
object is created with Date 1-1-1970.The text was updated successfully, but these errors were encountered: