Skip to content

Revert "Remove .NET Remoting method overloads from exception classes" #124

Revert "Remove .NET Remoting method overloads from exception classes"

Revert "Remove .NET Remoting method overloads from exception classes" #124

Triggered via push November 16, 2024 12:19
Status Success
Total duration 36s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/TBC.OpenBanking.Jws/src/Exceptions/CertificateValidationException.cs#L95
Member 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)'.
build: src/TBC.OpenBanking.Jws/src/Exceptions/JwsException.cs#L34
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/TBC.OpenBanking.Jws/src/Exceptions/CertificateValidationException.cs#L103
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/TBC.OpenBanking.Jws/src/Exceptions/CertificateValidationException.cs#L95
Member 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)'.
build: src/TBC.OpenBanking.Jws/src/Exceptions/JwsException.cs#L34
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/TBC.OpenBanking.Jws/src/Exceptions/CertificateValidationException.cs#L103
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/TBC.OpenBanking.Jws.Http/src/X509CertificateLocator.cs#L183
'X509Certificate2.X509Certificate2(string, string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build: src/TBC.OpenBanking.Jws.Http/src/X509CertificateLocator.cs#L187
'X509Certificate2.X509Certificate2(string, string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build: src/TBC.OpenBanking.Jws/src/Exceptions/CertificateValidationException.cs#L95
Member 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'CertificateValidationException.GetObjectData(SerializationInfo, StreamingContext)'.
build: src/TBC.OpenBanking.Jws/src/Exceptions/JwsException.cs#L34
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)