Skip to content

Commit da737e3

Browse files
committed
fix: fixed the nullable. things.
1 parent 4ddfb0a commit da737e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libraries/TedToolkit.RoslynHelper/Names/BaseName.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ private protected BaseName(T symbol)
1616
Symbol = symbol;
1717
_lazyFullName = new Lazy<string>(() => symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
1818
_lazyFullNameNull = new Lazy<string>(() => symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat
19-
.WithMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier)));
19+
.WithMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
20+
SymbolDisplayMiscellaneousOptions.ExpandNullable)));
2021
_lazyFullNameNoGlobal = new Lazy<string>(() => symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat
2122
.WithGlobalNamespaceStyle(SymbolDisplayGlobalNamespaceStyle.Omitted)));
2223
_lazyMiniName = new Lazy<string>(() => symbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));

0 commit comments

Comments
 (0)