Skip to content
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

Add more argument validation to TestScheduler.Start #1115

Merged

Conversation

akarnokd
Copy link
Collaborator

There was an implied created <= subscribed <= disposed timing requirement in TestScheduler.Start that when not held, caused NullReferenceException. This PR adds parameter validation and documentation about this requirement.

Fixes #1114

@danielcweber danielcweber merged commit c7c3b59 into dotnet:master Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestScheduler throws NullReferenceException when subscribed is less than created
2 participants