Skip to content

fix missing aot model SourceGenerationContext #2005

fix missing aot model SourceGenerationContext

fix missing aot model SourceGenerationContext #2005

Triggered via pull request May 30, 2025 18:46
Status Success
Total duration 1h 11m 55s
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#L191
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertUtilsTests.cs#L89
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertUtilsTests.cs#L88
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L55
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L26
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L13
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Classic.Tests/SimpleTests.cs#L34
Avoid inexact read with 'System.Net.Sockets.NetworkStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Analyze (csharp): src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs#L317
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs#L313
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)