CodeQL #309
Annotations
10 warnings
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
UnitTests/Utils/ValueStringBuilderTests.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
UnitTests/Utils/ValueStringBuilderTests.cs#L108
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Loading