Skip to content

Change X509Certificate2 constructor to fix KB5025823 #1424

Change X509Certificate2 constructor to fix KB5025823

Change X509Certificate2 constructor to fix KB5025823 #1424

Re-run triggered July 19, 2023 17:27
Status Success
Total duration 22m 8s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L52
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L117
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L227
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L244
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L327
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L371
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L413
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L531
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L481
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L496
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.