Skip to content

Use UtcDateTime for a bit more safety #126

Use UtcDateTime for a bit more safety

Use UtcDateTime for a bit more safety #126

Triggered via push January 30, 2025 10:11
Status Success
Total duration 1m 1s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: BigBang1112.Essentials/BigBang1112.Essentials/Auth/GeneralAuthenticationHandler.cs#L17
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
build: BigBang1112.Essentials/BigBang1112.Essentials/Auth/GeneralAuthenticationHandler.cs#L17
'OAuthHandler<T>.OAuthHandler(IOptionsMonitor<T>, ILoggerFactory, UrlEncoder, ISystemClock)' is obsolete: 'ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.'
build: BigBang1112.Essentials/BigBang1112.Essentials/Data/AccountsContext.cs#L26
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
build: BigBang1112.Essentials/BigBang1112.Essentials/Data/AccountsContext.cs#L27
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
build: BigBang1112.Essentials/BigBang1112.Essentials/Exceptions/ThisShouldNotHappenException.cs#L11
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: BigBang1112.Essentials/BigBang1112.Essentials/Exceptions/AttributeMissingException.cs#L10
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: BigBang1112.Essentials/BigBang1112.Essentials/Extensions/HeaderDictionaryExtensions.cs#L10
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: BigBang1112.Essentials/BigBang1112.DiscordBot/Data/DiscordBotContext.cs#L33
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
build: BigBang1112.Essentials/BigBang1112.DiscordBot/Data/DiscordBotContext.cs#L34
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.