Fix build warnings #80
Annotations
10 warnings
Build:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
Build:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
Build:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L65
Non-nullable property 'ReportedNodeInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L103
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build:
BTCPayApp.Core/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
Build:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L399
Dereference of a possibly null reference.
|
Build:
BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Loading