Move debugger attributes to shared partition (#15100)
[platform/upstream/coreclr.git] / src / mscorlib / src / System / Runtime / CompilerServices / FriendAccessAllowedAttribute.cs
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 // See the LICENSE file in the project root for more information.
4
5 namespace System.Runtime.CompilerServices
6 {
7     /// <summary>
8     ///     If AllInternalsVisible is not true for a friend assembly, the FriendAccessAllowed attribute
9     ///     indicates which internals are shared with that friend assembly.
10     /// </summary>
11     [AttributeUsage(AttributeTargets.Class |
12                     AttributeTargets.Constructor |
13                     AttributeTargets.Enum |
14                     AttributeTargets.Event |
15                     AttributeTargets.Field |
16                     AttributeTargets.Interface |
17                     AttributeTargets.Method |
18                     AttributeTargets.Property |
19                     AttributeTargets.Struct,
20         AllowMultiple = false,
21         Inherited = false)]
22     [FriendAccessAllowed]
23     internal sealed class FriendAccessAllowedAttribute : Attribute
24     {
25     }
26 }