Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

68 lines
2.4 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies that types that are ordinarily visible only within the current assembly are visible to a specified assembly.</summary>
// Token: 0x02000577 RID: 1399
[Token(Token = "0x2000577")]
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class InternalsVisibleToAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute" /> class with the name of the specified friend assembly.</summary>
/// <param name="assemblyName">The name of a friend assembly.</param>
// Token: 0x06002C80 RID: 11392 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C80")]
[Address(RVA = "0x2CEEAB0", Offset = "0x2CEDAB0", VA = "0x182CEEAB0")]
public InternalsVisibleToAttribute(string assemblyName)
{
}
/// <summary>Gets the name of the friend assembly to which all types and type members that are marked with the <see langword="internal" /> keyword are to be made visible.</summary>
/// <returns>A string that represents the name of the friend assembly.</returns>
// Token: 0x170006C4 RID: 1732
// (get) Token: 0x06002C81 RID: 11393 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170006C4")]
public string AssemblyName
{
[Token(Token = "0x6002C81")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>This property is not implemented.</summary>
/// <returns>This property does not return a value.</returns>
// Token: 0x170006C5 RID: 1733
// (get) Token: 0x06002C82 RID: 11394 RVA: 0x00018CF0 File Offset: 0x00016EF0
// (set) Token: 0x06002C83 RID: 11395 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170006C5")]
public bool AllInternalsVisible
{
[Token(Token = "0x6002C82")]
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
get
{
return default(bool);
}
[Token(Token = "0x6002C83")]
[Address(RVA = "0x611070", Offset = "0x610070", VA = "0x180611070")]
set
{
}
}
// Token: 0x0400195F RID: 6495
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400195F")]
private string _assemblyName;
// Token: 0x04001960 RID: 6496
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001960")]
private bool _allInternalsVisible;
}
}