PowerShellStandard icon indicating copy to clipboard operation
PowerShellStandard copied to clipboard

`S.M.A.Job2` has a protected method `SetJobState(JobState state, Exception reason)`, which should be included in `PowerShellStandard.Library` but is not

Open daxian-dbw opened this issue 11 months ago • 0 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Steps to reproduce

The ThreadJob module implements the abstract class Job2 and calls base.SetJobState(jobState, exception). However, when moving the build to use PowerShellStandard.Library, we found this protect method is missing.

Expected behavior

This protect method should be included in the package.

Actual behavior

It's not

Error details

Such method doesn't exist in the reference assembly included in the package.

Environment data

PowerShellStandard.Library v5.1.0 and v5.1.1

Version

v5.1.0 and v5.1.1

Visuals

No response

daxian-dbw avatar Feb 21 '25 00:02 daxian-dbw