mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Apply suggestions from code review
Co-authored-by: Tom Hvitved <hvitved@github.com>
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
{
|
||||
if (value is System.Collections.Immutable.ImmutableArray<CustomAttributeTypedArgument<Type>> values)
|
||||
{
|
||||
return "[" + string.Join(",", values.Select(v => v.Value?.ToString() ?? "null")) + "]";
|
||||
return "[" + string.Join(",", values.Select(v => GetStringValue(v.Value))) + "]";
|
||||
}
|
||||
|
||||
return value?.ToString() ?? "null";
|
||||
|
||||
Reference in New Issue
Block a user