Skip to content

Commit 401dd5b

Browse files
committed
Remove /*params*/ from ref
1 parent c69a9ec commit 401dd5b

File tree

7 files changed

+60
-60
lines changed

7 files changed

+60
-60
lines changed

src/libraries/System.Collections.Immutable/ref/System.Collections.Immutable.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static partial class ImmutableArray
207207
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(T item1, T item2, T item3, T item4) { throw null; }
208208
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(params T[]? items) { throw null; }
209209
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(T[] items, int start, int length) { throw null; }
210-
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
210+
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
211211
public static System.Collections.Immutable.ImmutableArray<T> Create<T>(System.Span<T> items) { throw null; }
212212
public static System.Collections.Immutable.ImmutableArray<TSource> ToImmutableArray<TSource>(this System.Collections.Generic.IEnumerable<TSource> items) { throw null; }
213213
public static System.Collections.Immutable.ImmutableArray<TSource> ToImmutableArray<TSource>(this System.Collections.Immutable.ImmutableArray<TSource>.Builder builder) { throw null; }
@@ -244,7 +244,7 @@ public static partial class ImmutableArray
244244
public System.Collections.Immutable.ImmutableArray<T> AddRange<TDerived>(TDerived[] items) where TDerived : T { throw null; }
245245
public System.Collections.Immutable.ImmutableArray<T> AddRange(ImmutableArray<T> items, int length) { throw null; }
246246
public System.Collections.Immutable.ImmutableArray<T> AddRange<TDerived>(ImmutableArray<TDerived> items) where TDerived : T { throw null; }
247-
public System.Collections.Immutable.ImmutableArray<T> AddRange(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
247+
public System.Collections.Immutable.ImmutableArray<T> AddRange(System.ReadOnlySpan<T> items) { throw null; }
248248
public System.Collections.Immutable.ImmutableArray<T> AddRange(params T[] items) { throw null; }
249249
public System.ReadOnlyMemory<T> AsMemory() { throw null; }
250250
public System.ReadOnlySpan<T> AsSpan() { throw null; }
@@ -284,7 +284,7 @@ public void CopyTo(System.Span<T> destination) { }
284284
public System.Collections.Immutable.ImmutableArray<T> InsertRange(int index, System.Collections.Generic.IEnumerable<T> items) { throw null; }
285285
public System.Collections.Immutable.ImmutableArray<T> InsertRange(int index, System.Collections.Immutable.ImmutableArray<T> items) { throw null; }
286286
public System.Collections.Immutable.ImmutableArray<T> InsertRange(int index, T[] items) { throw null; }
287-
public System.Collections.Immutable.ImmutableArray<T> InsertRange(int index, /*params*/ System.ReadOnlySpan<T> items) { throw null; }
287+
public System.Collections.Immutable.ImmutableArray<T> InsertRange(int index, System.ReadOnlySpan<T> items) { throw null; }
288288
public ref readonly T ItemRef(int index) { throw null; }
289289
public int LastIndexOf(T item) { throw null; }
290290
public int LastIndexOf(T item, int startIndex) { throw null; }
@@ -362,8 +362,8 @@ public void AddRange(T[] items, int length) { }
362362
public void AddRange<TDerived>(System.Collections.Immutable.ImmutableArray<TDerived> items) where TDerived : T { }
363363
public void AddRange<TDerived>(System.Collections.Immutable.ImmutableArray<TDerived>.Builder items) where TDerived : T { }
364364
public void AddRange<TDerived>(TDerived[] items) where TDerived : T { }
365-
public void AddRange(/*params*/ System.ReadOnlySpan<T> items) { }
366-
public void AddRange<TDerived>(/*params*/ System.ReadOnlySpan<TDerived> items) where TDerived : T { }
365+
public void AddRange(System.ReadOnlySpan<T> items) { }
366+
public void AddRange<TDerived>(System.ReadOnlySpan<TDerived> items) where TDerived : T { }
367367
public void Clear() { }
368368
public bool Contains(T item) { throw null; }
369369
public void CopyTo(T[] array, int index) { }
@@ -562,10 +562,10 @@ public static partial class ImmutableHashSet
562562
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer) { throw null; }
563563
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, T item) { throw null; }
564564
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, params T[] items) { throw null; }
565-
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, /*params*/ System.ReadOnlySpan<T> items) { throw null; }
565+
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, System.ReadOnlySpan<T> items) { throw null; }
566566
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(T item) { throw null; }
567567
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(params T[] items) { throw null; }
568-
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
568+
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
569569
public static System.Collections.Immutable.ImmutableHashSet<TSource> ToImmutableHashSet<TSource>(this System.Collections.Generic.IEnumerable<TSource> source) { throw null; }
570570
public static System.Collections.Immutable.ImmutableHashSet<TSource> ToImmutableHashSet<TSource>(this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IEqualityComparer<TSource>? equalityComparer) { throw null; }
571571
public static System.Collections.Immutable.ImmutableHashSet<TSource> ToImmutableHashSet<TSource>(this System.Collections.Immutable.ImmutableHashSet<TSource>.Builder builder) { throw null; }
@@ -691,7 +691,7 @@ public static partial class ImmutableList
691691
public static System.Collections.Immutable.ImmutableList<T> Create<T>() { throw null; }
692692
public static System.Collections.Immutable.ImmutableList<T> Create<T>(T item) { throw null; }
693693
public static System.Collections.Immutable.ImmutableList<T> Create<T>(params T[] items) { throw null; }
694-
public static System.Collections.Immutable.ImmutableList<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
694+
public static System.Collections.Immutable.ImmutableList<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
695695
public static int IndexOf<T>(this System.Collections.Immutable.IImmutableList<T> list, T item) { throw null; }
696696
public static int IndexOf<T>(this System.Collections.Immutable.IImmutableList<T> list, T item, System.Collections.Generic.IEqualityComparer<T>? equalityComparer) { throw null; }
697697
public static int IndexOf<T>(this System.Collections.Immutable.IImmutableList<T> list, T item, int startIndex) { throw null; }
@@ -887,7 +887,7 @@ public static partial class ImmutableQueue
887887
public static System.Collections.Immutable.ImmutableQueue<T> Create<T>() { throw null; }
888888
public static System.Collections.Immutable.ImmutableQueue<T> Create<T>(T item) { throw null; }
889889
public static System.Collections.Immutable.ImmutableQueue<T> Create<T>(params T[] items) { throw null; }
890-
public static System.Collections.Immutable.ImmutableQueue<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
890+
public static System.Collections.Immutable.ImmutableQueue<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
891891
public static System.Collections.Immutable.IImmutableQueue<T> Dequeue<T>(this System.Collections.Immutable.IImmutableQueue<T> queue, out T value) { throw null; }
892892
}
893893
[System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.Immutable.ImmutableQueue), "Create")]
@@ -1063,10 +1063,10 @@ public static partial class ImmutableSortedSet
10631063
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T>? comparer) { throw null; }
10641064
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T>? comparer, T item) { throw null; }
10651065
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T>? comparer, params T[] items) { throw null; }
1066-
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T>? comparer, /*params*/ System.ReadOnlySpan<T> items) { throw null; }
1066+
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T>? comparer, System.ReadOnlySpan<T> items) { throw null; }
10671067
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(T item) { throw null; }
10681068
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(params T[] items) { throw null; }
1069-
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
1069+
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
10701070
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource>(this System.Collections.Generic.IEnumerable<TSource> source) { throw null; }
10711071
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource>(this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource>? comparer) { throw null; }
10721072
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource>(this System.Collections.Immutable.ImmutableSortedSet<TSource>.Builder builder) { throw null; }
@@ -1198,7 +1198,7 @@ public static partial class ImmutableStack
11981198
public static System.Collections.Immutable.ImmutableStack<T> Create<T>() { throw null; }
11991199
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(T item) { throw null; }
12001200
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(params T[] items) { throw null; }
1201-
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(/*params*/ System.ReadOnlySpan<T> items) { throw null; }
1201+
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(System.ReadOnlySpan<T> items) { throw null; }
12021202
public static System.Collections.Immutable.IImmutableStack<T> Pop<T>(this System.Collections.Immutable.IImmutableStack<T> stack, out T value) { throw null; }
12031203
}
12041204
[System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.Immutable.ImmutableStack), "Create")]

src/libraries/System.Collections/ref/System.Collections.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,11 @@ namespace System.Collections.Generic
416416
{
417417
public static partial class CollectionExtensions
418418
{
419-
public static void AddRange<T>(this System.Collections.Generic.List<T> list, /*params*/ System.ReadOnlySpan<T> source) { }
419+
public static void AddRange<T>(this System.Collections.Generic.List<T> list, System.ReadOnlySpan<T> source) { }
420420
public static void CopyTo<T>(this System.Collections.Generic.List<T> list, System.Span<T> destination) { }
421421
public static TValue? GetValueOrDefault<TKey, TValue>(this System.Collections.Generic.IReadOnlyDictionary<TKey, TValue> dictionary, TKey key) { throw null; }
422422
public static TValue GetValueOrDefault<TKey, TValue>(this System.Collections.Generic.IReadOnlyDictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue) { throw null; }
423-
public static void InsertRange<T>(this System.Collections.Generic.List<T> list, int index, /*params*/ System.ReadOnlySpan<T> source) { }
423+
public static void InsertRange<T>(this System.Collections.Generic.List<T> list, int index, System.ReadOnlySpan<T> source) { }
424424
public static bool Remove<TKey, TValue>(this System.Collections.Generic.IDictionary<TKey, TValue> dictionary, TKey key, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TValue value) { throw null; }
425425
public static bool TryAdd<TKey, TValue>(this System.Collections.Generic.IDictionary<TKey, TValue> dictionary, TKey key, TValue value) { throw null; }
426426
public static System.Collections.ObjectModel.ReadOnlyCollection<T> AsReadOnly<T>(this IList<T> list) { throw null; }

src/libraries/System.Console/ref/System.Console.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute(
175175
public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { }
176176
public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { }
177177
public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[]? arg) { }
178-
public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, /*params*/ System.ReadOnlySpan<object?> arg) { }
178+
public static void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, System.ReadOnlySpan<object?> arg) { }
179179
[System.CLSCompliantAttribute(false)]
180180
public static void Write(uint value) { }
181181
[System.CLSCompliantAttribute(false)]
@@ -196,7 +196,7 @@ public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttrib
196196
public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { }
197197
public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { }
198198
public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[]? arg) { }
199-
public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, /*params*/ System.ReadOnlySpan<object?> arg) { }
199+
public static void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, System.ReadOnlySpan<object?> arg) { }
200200
[System.CLSCompliantAttribute(false)]
201201
public static void WriteLine(uint value) { }
202202
[System.CLSCompliantAttribute(false)]

src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSourceActivity.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public abstract class DistributedContextPropagator
297297
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)]
298298
public struct TagList : System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, object?>>
299299
{
300-
public TagList(/*params*/ System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tagList) : this() { throw null; }
300+
public TagList(System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tagList) : this() { throw null; }
301301
public readonly int Count => throw null;
302302
public readonly bool IsReadOnly => throw null;
303303
public System.Collections.Generic.KeyValuePair<string, object?> this[int index]
@@ -336,7 +336,7 @@ public sealed class Counter<T> : Instrument<T> where T : struct
336336
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag) { throw null; }
337337
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2) { throw null; }
338338
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2, System.Collections.Generic.KeyValuePair<string, object?> tag3) { throw null; }
339-
public void Add(T delta, /*params*/ System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
339+
public void Add(T delta, System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
340340
public void Add(T delta, params System.Collections.Generic.KeyValuePair<string, object?>[] tags) { throw null; }
341341
public void Add(T delta, in TagList tagList) { throw null; }
342342
internal Counter(Meter meter, string name, string? unit, string? description) :
@@ -348,7 +348,7 @@ public sealed class UpDownCounter<T> : Instrument<T> where T : struct
348348
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag) { throw null; }
349349
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2) { throw null; }
350350
public void Add(T delta, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2, System.Collections.Generic.KeyValuePair<string, object?> tag3) { throw null; }
351-
public void Add(T delta, /*params*/ System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
351+
public void Add(T delta, System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
352352
public void Add(T delta, params System.Collections.Generic.KeyValuePair<string, object?>[] tags) { throw null; }
353353
public void Add(T delta, in TagList tagList) { throw null; }
354354
internal UpDownCounter(Meter meter, string name, string? unit, string? description) :
@@ -362,7 +362,7 @@ public sealed class Histogram<T> : Instrument<T> where T : struct
362362
public void Record(T value, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2) { throw null; }
363363
public void Record(T value, System.Collections.Generic.KeyValuePair<string, object?> tag1, System.Collections.Generic.KeyValuePair<string, object?> tag2, System.Collections.Generic.KeyValuePair<string, object?> tag3) { throw null; }
364364
public void Record(T value, in TagList tagList) { throw null; }
365-
public void Record(T value, /*params*/ System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
365+
public void Record(T value, System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
366366
public void Record(T value, params System.Collections.Generic.KeyValuePair<string, object?>[] tags) { throw null; }
367367
}
368368
public interface IMeterFactory : System.IDisposable
@@ -398,7 +398,7 @@ public abstract class Instrument<T> : Instrument where T : struct
398398
public Measurement(T value) { throw null; }
399399
public Measurement(T value, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object?>>? tags) { throw null; }
400400
public Measurement(T value, params System.Collections.Generic.KeyValuePair<string, object?>[]? tags) { throw null; }
401-
public Measurement(T value, /*params*/ System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
401+
public Measurement(T value, System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> tags) { throw null; }
402402
public ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, object?>> Tags { get { throw null; } }
403403
public T Value { get { throw null; } }
404404
}

0 commit comments

Comments
 (0)