Use UtcDateTime for a bit more safety #126
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/AuthExtensions.cs#L135
Possible null reference return.
|
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)'.
|