INTL0202 - Also flag when the DateTime only Constructor of DateTimeOffset is used
Opened this issue · 0 comments
BenjaminMichaelis commented
Right now it flags on the implicit conversion of DT to DTO but you could mistakingly get around this by doing DateTimeOffset dto = new DateTimeOffset(new DateTime(2,2,2022)); and not including a timespan in your constructor when this is doing the same thing.