public record DocDeprecation
Contains deprecation information (e.g. the warning message).
public string? Message { get; init; }
The deprecation warning message.
public bool Error { get; init; }
Whether the usage should be treated as an error instead of a warning.