Skip to content

Update AuthorizationCodeCollectRequest.cs #224

Update AuthorizationCodeCollectRequest.cs

Update AuthorizationCodeCollectRequest.cs #224

Triggered via push December 24, 2023 11:26
Status Success
Total duration 2m 11s
Artifacts

codeql.yml

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

Annotations

10 warnings
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AccessTokenRefreshEventArgs.cs#L35
Non-nullable property 'RefreshedDiscordAccessToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventHandling/Requests/AuthorizationCodeMatchRequest.cs#L57
Cannot convert null literal to non-nullable reference type.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AuthorizationCodeReceiveEventArgs.cs#L33
Non-nullable property 'ReceivedCode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AuthorizationCodeReceiveEventArgs.cs#L33
Non-nullable property 'ReceivedState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AuthorizationCodeExchangeEventArgs.cs#L39
Non-nullable property 'ExchangedCode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AuthorizationCodeExchangeEventArgs.cs#L39
Non-nullable property 'ReceivedState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AuthorizationCodeExchangeEventArgs.cs#L39
Non-nullable property 'DiscordAccessToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/EventArgs/AccessTokenRevokeEventArgs.cs#L35
Non-nullable property 'RevokedDiscordAccessToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/ExtensionMethods.cs#L95
Possible null reference return.
Analyze (csharp): DisCatSharp.Extensions.OAuth2Web/ExtensionMethods.cs#L107
Argument of type 'Dictionary<int, OAuth2WebExtension?>' cannot be used for parameter 'dictionary' of type 'IDictionary<int, OAuth2WebExtension>' in 'ReadOnlyDictionary<int, OAuth2WebExtension>.ReadOnlyDictionary(IDictionary<int, OAuth2WebExtension> dictionary)' due to differences in the nullability of reference types.