Skip to content

CodeQL

CodeQL #309

Triggered via schedule November 25, 2024 13:03
Status Success
Total duration 5m 3s
Artifacts

codeql.yml

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

Annotations

10 warnings
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L187
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'MimeKit.Cryptography.SqliteCertificateDatabase.SQLiteAssembly.ConnectionStringBuilderType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L194
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Activator.CreateInstance(Type, params Object[])'. The return value of method 'MimeKit.Cryptography.SqliteCertificateDatabase.SQLiteAssembly.ConnectionType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L72
Using member 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L73
Using member 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L74
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Reflection.Assembly.GetType(String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L75
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Reflection.Assembly.GetType(String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): MimeKit/Cryptography/SqliteCertificateDatabase.cs#L76
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Reflection.Assembly.GetType(String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): MimeKit/Cryptography/CryptographyContext.cs#L776
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.GetConstructor(Type[])'. The parameter 'type' of method 'MimeKit.Cryptography.CryptographyContext.Register(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Analyze (csharp): UnitTests/Utils/ValueStringBuilderTests.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): UnitTests/Utils/ValueStringBuilderTests.cs#L108
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.