Update target framework to net8.0 #74
Annotations
1 error and 20 warnings
|
Build & Test (windows-latest)
Process completed with exit code 1.
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (ubuntu-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|