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.

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, final
Archivo fuente
Reflection.ant

Herencia

Clases base
Any Attribute FriendOfAttribute

Constructores

constructor FriendOfAttribute(friend: System.Type)
#

Propiedades

property Friend: System.Type
#

read-only

The type named.

Miembros privados e internos (1)

field friend: System.Type
#

private

Miembros heredados (5)

Código fuente

FriendOfAttribute en Larva HIR, descompilado a partir de su 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