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/Utils/Extensions/JsonExtensions.cs#L10
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/Utils/Extensions/JsonExtensions.cs#L20
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/Utils/Extensions/NumberExtensions.cs#L33
Possible null reference assignment.
|
Publish:
SnapX.Core/Utils/Extensions/ObjectExtensions.cs#L58
Cannot convert null literal to non-nullable reference type.
|
Publish:
SnapX.Core/Utils/Extensions/ObjectExtensions.cs#L78
Nullability of type of parameter 'x' doesn't match overridden member (possibly because of nullability attributes).
|
Loading