refactor(Core): use modern switch statement #181
Annotations
10 warnings
Publish:
SnapX.Core/Upload/Img/Imgur.cs#L346
The type 'SnapX.Core.Upload.Img.ImgurResponse' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
SnapX.Core/Upload/Img/Imgur.cs#L353
The type 'SnapX.Core.Upload.Img.ImgurErrorData' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
SnapX.Core/Upload/Img/Imgur.cs#L360
The type 'SnapX.Core.Upload.Img.ImgurError' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
SnapX.Core/Upload/Img/Imgur.cs#L368
The type 'SnapX.Core.Upload.Img.ImgurImageData' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
SnapX.Core/Upload/Img/Imgur.cs#L395
The type 'SnapX.Core.Upload.Img.ImgurAlbumData' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
SnapX.Core/ScreenCapture/RegionCaptureTasks.cs#L13
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/Upload/BaseUploaders/Uploader.cs#L79
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/ScreenCapture/RegionCaptureTasks.cs#L26
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/Upload/BaseUploaders/Uploader.cs#L79
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/ScreenCapture/RegionCaptureTasks.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Loading