Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Reflection/Emit/ModuleBuilder.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000277 RID: 631
[Token(Token = "0x2000277")]
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: 0x060016D7 RID: 5847 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60016D7")]
[Address(RVA = "0x30BCE20", Offset = "0x30BBE20", VA = "0x1830BCE20")]
public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, Type[] interfaces)
{
return null;
}
}
}