Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add message to ObsoleteAttribute
  • Loading branch information
Evangelink committed May 9, 2023
commit fff1a87ee94360d4b6f79de9acb1ea0b16bdea23
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class InvalidManagedNameException : Exception, ISerializable
public InvalidManagedNameException(string? message) : base(message) { }

#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
[Obsolete(DiagnosticId = "SYSLIB0051", "Serialization constructors are deprecated in .NET8+")]
#endif
protected InvalidManagedNameException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}