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 5f7c28d commit 08fc564Copy full SHA for 08fc564
csharp/ql/test/library-tests/attributes/attributes.cs
@@ -161,3 +161,15 @@ public class MyExperimentalClass
161
[Experimental("MyExperimentalMethodId")]
162
public void MyExperimentalMethod() { }
163
}
164
+
165
+public class MyOverloadResolutionClass
166
+{
167
+ [OverloadResolutionPriority(-1)]
168
+ public void M(int[] arr) { }
169
170
+ [OverloadResolutionPriority(1)]
171
+ public void M(IEnumerable<int> e) { }
172
173
+ [OverloadResolutionPriority(2)]
174
+ public void M(ReadOnlySpan<int> s) { }
175
+}
0 commit comments