升级项目,改用 dotnetCampus.LatestCSharpFeatures 提供的可空 #131
Annotations
22 warnings
build (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (Debug):
src/Frameworks/Walterlv.Windows.Framework/Walterlv.Windows.Framework.Wpf/Windows/Input/ActionCommand.cs#L52
The event 'ActionCommand.CanExecuteChanged' is never used
|
build (Debug):
src/Frameworks/Walterlv.Windows.Framework/Walterlv.Windows.Framework.Wpf/Windows/Input/ActionCommand`1.cs#L38
The event 'ActionCommand<T>.CanExecuteChanged' is never used
|
build (Debug):
src/Utils/Walterlv.Logger/Core/AsyncOutputLogger.cs#L25
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build (Debug):
src/Utils/Walterlv.Logger/IO/TextFileLogger.cs#L247
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build (Debug):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L215
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 (Debug):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L246
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 (Debug):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L267
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 (Debug):
src/Utils/Walterlv.IO.PackageManagement/Core/JunctionPoint.cs#L384
Unboxing a possibly null value.
|
build (Debug):
samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Debug):
samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (Release):
src/Frameworks/Walterlv.Windows.Framework/Walterlv.Windows.Framework.Wpf/Windows/Input/ActionCommand`1.cs#L38
The event 'ActionCommand<T>.CanExecuteChanged' is never used
|
build (Release):
src/Frameworks/Walterlv.Windows.Framework/Walterlv.Windows.Framework.Wpf/Windows/Input/ActionCommand.cs#L52
The event 'ActionCommand.CanExecuteChanged' is never used
|
build (Release):
src/Utils/Walterlv.Logger/Core/AsyncOutputLogger.cs#L25
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build (Release):
src/Utils/Walterlv.Logger/IO/TextFileLogger.cs#L247
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build (Release):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L215
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 (Release):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L246
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 (Release):
src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L267
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 (Release):
src/Utils/Walterlv.IO.PackageManagement/Core/JunctionPoint.cs#L384
Unboxing a possibly null value.
|
build (Release):
samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Release):
samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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.
|