Skip to content

Implicit datetime conversion analyzer #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 25, 2021

Conversation

adamskt
Copy link
Member

@adamskt adamskt commented Oct 24, 2021

Closes #181. Generates a warning when the symbol System.DateTimeOffset.op_Implicit(System.DateTime) is used.

@adamskt
Copy link
Member Author

adamskt commented Oct 24, 2021

Dangit, transposed the digits. This PR closes #181

@Keboo Keboo merged commit 3c450a6 into main Oct 25, 2021
@Keboo Keboo deleted the adamst/118-implicit-datetime-conversion-analyzer branch October 25, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an analyzer to ban implicit conversions between DateTime and DateTimeOffset.
2 participants