Add exception handler overloads to ObserveDuration #89
Annotations
20 warnings
|
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/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/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 (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/ValueObserverExtensionsTests.cs#L337
File is required to end with a single newline character (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md)
|
|
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/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/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)
|
|
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/ValueObserverExtensionsTests.cs#L337
File is required to end with a single newline character (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md)
|
|
Build & Test (windows-latest):
tests/Prometheus.Client.Tests/ValueObserverExtensionsTests.cs#L337
File is required to end with a single newline character (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md)
|