Skip to content

Conversation

@frozzare
Copy link
Member

Type of change

  • New feature
  • Bug fix
  • Security patch
  • Documentation update

Description

Add a fallback TimeProvider for versions prior to .NET 8

Related issue

Motivation

Checklist

  • I have read the CONTRIBUTING document.
  • I have read and accepted the Code of conduct
  • Tests passes.
  • Style lints passes.
  • Documentation of new public methods exists.

@frozzare frozzare force-pushed the add-timeprovider-fallback branch from 87b5821 to b7048df Compare January 22, 2026 12:21
Copy link
Member

@Johannestegner Johannestegner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

In the future (if/when we add net4.8 tests) we might have to add the #if compiler directive in the tests as well (as they will currently just use the "real" time provider. But thats an issue for that day!

@frozzare frozzare merged commit 0b75f9a into master Jan 22, 2026
4 checks passed
@frozzare frozzare deleted the add-timeprovider-fallback branch January 22, 2026 13:58
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.

3 participants