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.
5 namespace System.Runtime.CompilerServices
8 /// If AllInternalsVisible is not true for a friend assembly, the FriendAccessAllowed attribute
9 /// indicates which internals are shared with that friend assembly.
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,
23 internal sealed class FriendAccessAllowedAttribute : Attribute