We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed36ba1 commit d13835eCopy full SHA for d13835e
ICSharpCode.Decompiler.Tests/TestCases/Pretty/ParamsCollections.cs
@@ -1,5 +1,6 @@
1
using System;
2
using System.Collections.Generic;
3
+using System.Diagnostics.CodeAnalysis;
4
5
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
6
{
@@ -15,6 +16,11 @@ public static void ParamsReadOnlySpan(params ReadOnlySpan<int> values)
15
16
17
}
18
public static void ParamsSpan(params Span<int> values)
19
+ {
20
+ // note: implicitly "scoped", "params scoped Span<int> values" is allowed
21
+ // but "scoped" is always redundant for params.
22
+ }
23
+ public static void ParamUnscopedSpan([UnscopedRef] params Span<int> values)
24
25
26
0 commit comments