Skip to content

[Bug]: Unable to Access AdvanceByMs() TestScheduler Extension #4297

@bfmyr4

Description

@bfmyr4

Describe the bug 🐞

After update to 23.1.1 from 22.3.1, getting:
'TestScheduler' does not contain a definition for 'AdvanceByMs' and no accessible extension method 'AdvanceByMs' accepting a first argument of type 'TestScheduler' could be found (are you missing a using directive or an assembly reference?)

I looked at the 22.3.1...23.1.1 diff and it looks the TestScheduler extension methods were moved to a new static class in ReactiveUI.Testing.Reactive. I tried adding an import to that namespace, and it still doesn't see it. I don't see a separate nuget for it, so maybe it was accidentally omitted from ReactiveUI.Testing Nuget?

Perhaps I'm not supposed to be using that extension.

Step to reproduce

Update to 23.1.1 from 22.3.1 and attempt to use AdvanceByMs() extension to Microsoft.Reactive.Testing.TestScheduler.

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

Should be able to see AdvanceByMs() extension.

Screenshots 🖼️

No response

IDE

No response

Operating system

Windows

Version

11

Device

No response

ReactiveUI Version

23.1.1

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions