Skip to content

Commit 44b3cab

Browse files
Backflow from https://github.com/dotnet/dotnet / 5c3434d build 279843
[[ commit created by automation ]]
1 parent af34cc6 commit 44b3cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/RoslynUtils/SymbolExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private static string InnerGetDefaultValueString(object? defaultValue, ITypeSymb
231231
double d when d is double.PositiveInfinity => "double.PositiveInfinity",
232232
double d when d is double.NaN => "double.NaN",
233233
decimal d => $"{SymbolDisplay.FormatPrimitive(d, false, false)}M",
234-
_ => SymbolDisplay.FormatPrimitive(defaultValue, false, false),
234+
_ => SymbolDisplay.FormatPrimitive(defaultValue, false, false)!,
235235
};
236236
}
237237

0 commit comments

Comments
 (0)