Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

31 lines
1.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Reflection.Emit
{
/// <summary>Defines and represents a module in a dynamic assembly.</summary>
// Token: 0x02000270 RID: 624
[Token(Token = "0x2000270")]
public abstract class ModuleBuilder : Module
{
/// <summary>Constructs a <see langword="TypeBuilder" /> given the type name, attributes, the type that the defined type extends, and the interfaces that the defined type implements.</summary>
/// <param name="name">The full path of the type. <paramref name="name" /> cannot contain embedded nulls.</param>
/// <param name="attr">The attributes to be associated with the type.</param>
/// <param name="parent">The type that the defined type extends.</param>
/// <param name="interfaces">The list of interfaces that the type implements.</param>
/// <returns>A <see langword="TypeBuilder" /> created with all of the requested attributes.</returns>
/// <exception cref="T:System.ArgumentException">A type with the given name exists in the parent assembly of this module.
/// -or-
/// Nested type attributes are set on a type that is not nested.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="name" /> is <see langword="null" />.</exception>
// Token: 0x06001698 RID: 5784 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001698")]
[Address(RVA = "0x2A0B190", Offset = "0x2A09F90", VA = "0x182A0B190")]
public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, Type[] interfaces)
{
return null;
}
}
}