CodeQL #13
Annotations
10 warnings
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Utilities/SoapEndpointBehavior.cs#L23
In externally visible method 'void SoapEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)', validate parameter 'clientRuntime' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Utilities/SoapEndpointBehavior.cs#L23
In externally visible method 'void SoapEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)', validate parameter 'clientRuntime' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|