Skip to content

Commit cf87339

Browse files
committed
Add ParamCollectionAttribute
1 parent 0366833 commit cf87339

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: TypeForwardedTo(typeof(ParamCollectionAttribute))]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
namespace System.Runtime.CompilerServices
5+
{
6+
/// <summary>
7+
/// Indicates that a method will allow a variable number of arguments in its invocation.
8+
/// </summary>
9+
[AttributeUsage(AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
10+
public sealed class ParamCollectionAttribute : Attribute
11+
{
12+
}
13+
}

0 commit comments

Comments
 (0)