-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from candy-kingdom/feature/23-obsolete
Handle `[Obsolete]`
- Loading branch information
Showing
15 changed files
with
283 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Summary.DocDeprecation | ||
```cs | ||
public record DocDeprecation | ||
``` | ||
|
||
Contains deprecation information (e.g. the warning message). | ||
|
||
## Properties | ||
### Message | ||
```cs | ||
public string? Message { get; init; } | ||
``` | ||
|
||
The deprecation warning message. | ||
|
||
### Error | ||
```cs | ||
public bool Error { get; init; } | ||
``` | ||
|
||
Whether the usage should be treated as an error instead of a warning. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Summary; | ||
|
||
/// <summary> | ||
/// Contains deprecation information (e.g. the warning message). | ||
/// </summary> | ||
public record DocDeprecation | ||
{ | ||
/// <summary> | ||
/// The deprecation warning message. | ||
/// </summary> | ||
public string? Message { get; init; } | ||
|
||
/// <summary> | ||
/// Whether the usage should be treated as an error instead of a warning. | ||
/// </summary> | ||
public bool Error { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.