refactor: clean architecture #260
Draft
Annotations
10 warnings
|
SnapX.Core/Upload/File/MediaFire.cs#L38
There are multiple types named 'DoUpload'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1031)
|
|
SnapX.Core/Upload/Custom/CustomUploaderItem.cs#L72
The member 'SnapX.Core.Upload.Custom.CustomUploaderItem.ResponseType' has been annotated with 'JsonStringEnumConverter' which is not supported in native AOT. Consider using the generic 'JsonStringEnumConverter<TEnum>' instead. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1034)
|
|
SnapX.Core/Upload/Custom/CustomUploaderItem.cs#L52
The member 'SnapX.Core.Upload.Custom.CustomUploaderItem.Body' has been annotated with 'JsonStringEnumConverter' which is not supported in native AOT. Consider using the generic 'JsonStringEnumConverter<TEnum>' instead. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1034)
|
|
SnapX.Core/Upload/Custom/CustomUploaderItem.cs#L27
The member 'SnapX.Core.Upload.Custom.CustomUploaderItem.DestinationType' has been annotated with 'JsonStringEnumConverter' which is not supported in native AOT. Consider using the generic 'JsonStringEnumConverter<TEnum>' instead. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1034)
|
|
build/Uninstall.cs#L111
Possible null reference argument for parameter 'path' in 'Task IFileSystem.TryDeleteFile(string path)'.
|
|
build/AppImage.cs#L5
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/AppImage.cs#L3
Parameter 'config' is unread.
|
|
build/AppImage.cs#L3
Parameter 'FileSystem' is unread.
|
|
build/AppImage.cs#L3
Parameter 'CommandRunner' is unread.
|
|
build/AppImage.cs#L3
Parameter 'Logger' is unread.
|
The logs for this run have expired and are no longer available.
Loading