Skip to content

INTL0202 - Also flag when the DateTime only Constructor of DateTimeOffset is usedΒ #302

@BenjaminMichaelis

Description

@BenjaminMichaelis

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions