From 34bd59ced399e941694fe6bfaff6eebd059d7929 Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Tue, 25 Jul 2023 19:36:05 +0200 Subject: [PATCH] [CLI] Append '?' to nullable ref type (#1130) --- ChangeLog.md | 2 ++ src/Documentation/DocumentationDisplayFormats.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index cd890ab8bd..2d66503da0 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -34,6 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix [RCS1176](https://github.com/JosefPihrt/Roslynator/blob/main/docs/analyzers/RCS1176.md) ([#1122](https://github.com/JosefPihrt/Roslynator/pull/1122)). - Fix [RCS1085](https://github.com/JosefPihrt/Roslynator/blob/main/docs/analyzers/RCS1085.md) ([#1120](https://github.com/josefpihrt/roslynator/pull/1120)). - Fix [RCS1208](https://github.com/JosefPihrt/Roslynator/blob/main/docs/analyzers/RCS1208.md) ([#1119](https://github.com/JosefPihrt/Roslynator/pull/1119)). +- [CLI] Fix member full declaration in generated documentation (command `generate-doc`) ([#1130](https://github.com/josefpihrt/roslynator/pull/1130)). + - Append `?` to nullable reference types. ## [4.3.0] - 2023-04-24 diff --git a/src/Documentation/DocumentationDisplayFormats.cs b/src/Documentation/DocumentationDisplayFormats.cs index 0eb79c1f18..cabb2276bc 100644 --- a/src/Documentation/DocumentationDisplayFormats.cs +++ b/src/Documentation/DocumentationDisplayFormats.cs @@ -49,6 +49,7 @@ internal static class DocumentationDisplayFormats miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral + | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier ); public static SymbolDisplayFormat ExplicitImplementationFullDeclaration { get; } = FullDeclaration.Update(