Skip to content

Fixed TextPreviewer to use an encoding with an empty string fallback #320

Fixed TextPreviewer to use an encoding with an empty string fallback

Fixed TextPreviewer to use an encoding with an empty string fallback #320

Triggered via push November 28, 2024 18:32
Status Success
Total duration 5m 54s
Artifacts

codeql.yml

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

Annotations

10 warnings
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): 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): 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.