Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

InternalsVisibleToAttribute

class InternalsVisibleToAttribute

Module: System.Runtime.CompilerServices
Assembly: System.Runtime.dll
Source file: InternalsVisibleToAttribute.rvn

Inheritance: Object → Attribute → InternalsVisibleToAttribute

Grants a named assembly access to this assembly's internal types and members. Grants are directional and non-transitive; private access is unchanged.

Constructors

1 item
InternalsVisibleToAttribute(assemblyName: string) Records the friend assembly identity without loading an assembly or executing access checks. Native execution currently accepts unsigned, unqualified ASCII names only.

Properties

1 item
AssemblyName: string Gets the supplied assembly identity. A module or namespace name does not grant access.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString