Skip to content

Just some minor changes #27

Just some minor changes

Just some minor changes #27

Triggered via pull request December 14, 2023 05:52
Status Failure
Total duration 21s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
build: TSEconomy/Api/Api.cs#L127
'BankAccount' does not contain a definition for 'TryRemoveBalance' and no accessible extension method 'TryRemoveBalance' accepting a first argument of type 'BankAccount' could be found (are you missing a using directive or an assembly reference?)
build: TSEconomy/Api/Api.cs#L129
'BankAccount' does not contain a definition for 'TryAddBalance' and no accessible extension method 'TryAddBalance' accepting a first argument of type 'BankAccount' could be found (are you missing a using directive or an assembly reference?)
build: TSEconomy/Api/Api.cs#L127
'BankAccount' does not contain a definition for 'TryRemoveBalance' and no accessible extension method 'TryRemoveBalance' accepting a first argument of type 'BankAccount' could be found (are you missing a using directive or an assembly reference?)
build: TSEconomy/Api/Api.cs#L129
'BankAccount' does not contain a definition for 'TryAddBalance' and no accessible extension method 'TryAddBalance' accepting a first argument of type 'BankAccount' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
build: TSEconomy/Database/Models/BankAccount.cs#L94
Cannot convert null literal to non-nullable reference type.
build: TSEconomy/Commands/SendCommand.cs#L24
Possible null reference argument for parameter 'userInput' in 'UserAccount? Helpers.GetUser(string userInput, out TSPlayer? onlinePlayer)'.
build: TSEconomy/Api/Api.cs#L59
Possible null reference return.
build: TSEconomy/Api/Api.cs#L91
Possible null reference return.
build: TSEconomy/Commands/CommandBase.cs#L9
Possible null reference return.
build: TSEconomy/Commands/BankAdminCommand.cs#L22
Possible null reference argument for parameter 'userInput' in 'UserAccount? Helpers.GetUser(string userInput, out TSPlayer? onlinePlayer)'.
build: TSEconomy/Commands/BankAdminCommand.cs#L72
Possible null reference argument for parameter 'userInput' in 'UserAccount? Helpers.GetUser(string userInput, out TSPlayer? onlinePlayer)'.
build: TSEconomy/Commands/BankAdminCommand.cs#L105
Possible null reference argument for parameter 'userInput' in 'UserAccount? Helpers.GetUser(string userInput, out TSPlayer? onlinePlayer)'.
build: TSEconomy/Lang/Localization.cs#L48
Possible null reference argument for parameter 'stream' in 'StreamReader.StreamReader(Stream stream)'.
build: TSEconomy/Lang/Localization.cs#L58
Converting null literal or possible null value to non-nullable type.