Skip to content

Update VkErrorCode.cs (#1626) #121

Update VkErrorCode.cs (#1626)

Update VkErrorCode.cs (#1626) #121

Triggered via push December 18, 2024 09:52
Status Success
Total duration 1m 47s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: VkNet/Exception/AccessTokenInvalidException.cs#L55
Member 'AccessTokenInvalidException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'AccessTokenInvalidException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/CaptchaNeededException.cs#L37
Member 'CaptchaNeededException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'CaptchaNeededException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/LongPollOutdateException.cs#L31
Member 'LongPollOutdateException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'LongPollOutdateException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/NeedValidationException.cs#L44
Member 'NeedValidationException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'NeedValidationException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/TooMuchElementsInTemplateException.cs#L26
Member 'TooMuchElementsInTemplateException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TooMuchElementsInTemplateException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/VkApiException.cs#L63
Member 'VkApiException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'VkApiException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/VkKeyboardPayloadMaxLengthException.cs#L26
Member 'VkKeyboardPayloadMaxLengthException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'VkKeyboardPayloadMaxLengthException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Model/MessageActionObject.cs#L61
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: VkNet/VkApi.cs#L282
'StreamingContextStates' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build: VkNet/VkApi.cs#L282
'StreamingContext.StreamingContext(StreamingContextStates)' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build: VkNet/Model/MessageActionObject.cs#L61
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: VkNet/Utils/BotsLongPoll/GroupUpdateEvent.cs#L25
Non-nullable field 'RawUpdate' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/BotsLongPoll/BotsLongPoolOnUpdatesEvent.cs#L17
Non-nullable field 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/BotsLongPoll/BotsLongPoolOnUpdatesEvent.cs#L22
Non-nullable field 'Updates' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/DisposableAction.cs#L47
The variable 'ex' is declared but never used
build: VkNet/Utils/AttachmentConverterService.cs#L64
'PhotosList' is obsolete: 'Для версии API ниже 5.0'
build: VkNet/Categories/Async/WallCategoryAsync.cs#L61
'WallCategory.Repost(string, string, long?, bool)' is obsolete: 'Use ICaptchaSolver to handle captcha. This method is obsolete and will be removed in future.'
build: VkNet/Utils/UsersLongPoll/UsersLongPoolOnUpdatesEvent.cs#L16
Non-nullable field 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/UsersLongPoll/UsersLongPoolOnUpdatesEvent.cs#L21
Non-nullable field 'Messages' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/UsersLongPoll/UserMessageEvent.cs#L25
Non-nullable field 'RawMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.