class · System

FriendOfAttribute

public class System.FriendOfAttribute : System.Attribute

[FriendOf(T)] on a type makes it and T friends, from any assembly: each sees the other's friendly members.

Kind
class
Namespace
System
Assembly
System.Core
Access
public, final
Source file
Reflection.ant

Inheritance

Base classes
Any Attribute FriendOfAttribute

Constructors

constructor FriendOfAttribute(friend: System.Type)
#

Properties

property Friend: System.Type
#

read-only

The type named.

Private and internal members (1)

field friend: System.Type
#

private

Inherited members (5)

Source

FriendOfAttribute as Larva HIR, decompiled from its Larva HIR.

System.FriendOfAttribute.hir
// `[FriendOf(T)]` on a type makes it and `T` friends, from any assembly: each sees the other's `friendly` members.
public class System.FriendOfAttribute : System.Attribute
{
    field friend: System.Type
    constructor FriendOfAttribute(friend: System.Type)
    // The type named.
    property Friend: System.Type
}
Esc