From 8ccbada9ae3da7a9413617344bec346c31dc34f5 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Thu, 27 Apr 2023 09:51:08 -0500 Subject: [PATCH] Fix cast type to conform to Roslyn API --- .../gen/ComInterfaceGenerator/InlinedTypes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/InlinedTypes.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/InlinedTypes.cs index cb55e36b32cb9..ef2fe4f6d650c 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/InlinedTypes.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/InlinedTypes.cs @@ -53,7 +53,7 @@ static BlockSyntax Body() GenericName( Identifier("GetInstance"), TypeArgumentList( - SeparatedList( + SeparatedList( new[] { PredefinedType(Token(SyntaxKind.ObjectKeyword)) }))))) .AddArgumentListArguments( Argument(