Skip to content

Commit 3f75474

Browse files
committed
SingletonSeparatedList -> SeparatedList
1 parent 2e35013 commit 3f75474

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

src/Core/Silk.NET.SilkTouch/NativeContextOverrideGeneration.cs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System;
@@ -75,22 +75,23 @@ Compilation comp
7575
),
7676
ArgumentList
7777
(
78-
SingletonSeparatedList
78+
SeparatedList
7979
(
80-
Argument
81-
(
82-
IdentifierName("n")
83-
)
84-
).Add
85-
(
86-
Argument
87-
(
88-
LiteralExpression
80+
new []
81+
{
82+
Argument
8983
(
90-
SyntaxKind.StringLiteralExpression,
91-
Literal(lib)
84+
IdentifierName("n")
85+
),
86+
Argument
87+
(
88+
LiteralExpression
89+
(
90+
SyntaxKind.StringLiteralExpression,
91+
Literal(lib)
92+
)
9293
)
93-
)
94+
}
9495
)
9596
)
9697
),
@@ -172,7 +173,7 @@ Compilation comp
172173
foreach (var attribute in attributes)
173174
{
174175
if (attribute.AttributeClass is null) continue;
175-
176+
176177
if (_nativeContextAttributes.TryGetValue(attribute.AttributeClass, out var f))
177178
{
178179
var v = f(attribute.ConstructorArguments);

0 commit comments

Comments
 (0)