diff --git a/EventPipe/SymbolCleaner.cs b/EventPipe/SymbolCleaner.cs index ca7275f..a28b232 100644 --- a/EventPipe/SymbolCleaner.cs +++ b/EventPipe/SymbolCleaner.cs @@ -305,6 +305,17 @@ private static void AppendPrettifiedType(StringBuilder sb, ReadOnlySpan st return; } + str = str switch + { + "int32" => "int", + "unsigned int32" => "uint", + "float32" => "float", + "float64" => "double", + "System.Object" => "object", + "System.String" => "string", + _ => str, + }; + sb.Append(str); sb.Append(suffix); }