AssemblyBuilder Methods

 

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAddResourceFile(String, String)

Adds an existing resource file to this assembly.

System_CAPS_pubmethodAddResourceFile(String, String, ResourceAttributes)

Adds an existing resource file to this assembly.

System_CAPS_pubmethodCreateInstance(String)

Locates the specified type from this assembly and creates an instance of it using the system activator, using case-sensitive search.(Inherited from Assembly.)

System_CAPS_pubmethodCreateInstance(String, Boolean)

Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search.(Inherited from Assembly.)

System_CAPS_pubmethodCreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search and having the specified culture, arguments, and binding and activation attributes.(Inherited from Assembly.)

System_CAPS_pubmethodSystem_CAPS_staticDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Defines a dynamic assembly that has the specified name and access rights.

System_CAPS_pubmethodSystem_CAPS_staticDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>)

Defines a new assembly that has the specified name, access rights, and attributes.

System_CAPS_pubmethodDefineDynamicModule(String)

Defines a named transient dynamic module in this assembly.

System_CAPS_pubmethodDefineDynamicModule(String, Boolean)

Defines a named transient dynamic module in this assembly and specifies whether symbol information should be emitted.

System_CAPS_pubmethodDefineDynamicModule(String, String)

Defines a persistable dynamic module with the given name that will be saved to the specified file. No symbol information is emitted.

System_CAPS_pubmethodDefineDynamicModule(String, String, Boolean)

Defines a persistable dynamic module, specifying the module name, the name of the file to which the module will be saved, and whether symbol information should be emitted using the default symbol writer.

System_CAPS_pubmethodDefineResource(String, String, String)

Defines a standalone managed resource for this assembly with the default public resource attribute.

System_CAPS_pubmethodDefineResource(String, String, String, ResourceAttributes)

Defines a standalone managed resource for this assembly. Attributes can be specified for the managed resource.

System_CAPS_pubmethodDefineUnmanagedResource(Byte[])

Defines an unmanaged resource for this assembly as an opaque blob of bytes.

System_CAPS_pubmethodDefineUnmanagedResource(String)

Defines an unmanaged resource file for this assembly given the name of the resource file.

System_CAPS_pubmethodDefineVersionInfoResource()

Defines an unmanaged version information resource using the information specified in the assembly's AssemblyName object and the assembly's custom attributes.

System_CAPS_pubmethodDefineVersionInfoResource(String, String, String, String, String)

Defines an unmanaged version information resource for this assembly with the given specifications.

System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance is equal to the specified object.(Overrides Assembly.Equals(Object).)

System_CAPS_pubmethodGetCustomAttributes(Boolean)

Returns all the custom attributes that have been applied to the current AssemblyBuilder.(Overrides Assembly.GetCustomAttributes(Boolean).)

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

Returns all the custom attributes that have been applied to the current AssemblyBuilder, and that derive from a specified attribute type.(Overrides Assembly.GetCustomAttributes(Type, Boolean).)

System_CAPS_pubmethodGetCustomAttributesData()

Returns CustomAttributeData objects that contain information about the attributes that have been applied to the current AssemblyBuilder.(Overrides Assembly.GetCustomAttributesData().)

System_CAPS_pubmethodGetDynamicModule(String)

Returns the dynamic module with the specified name.

System_CAPS_pubmethodGetExportedTypes()

Gets the exported types defined in this assembly.(Overrides Assembly.GetExportedTypes().)

System_CAPS_pubmethodGetFile(String)

Gets a FileStream for the specified file in the file table of the manifest of this assembly.(Overrides Assembly.GetFile(String).)

System_CAPS_pubmethodGetFiles()

Gets the files in the file table of an assembly manifest.(Inherited from Assembly.)

System_CAPS_pubmethodGetFiles(Boolean)

Gets the files in the file table of an assembly manifest, specifying whether to include resource modules.(Overrides Assembly.GetFiles(Boolean).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides Assembly.GetHashCode().)

System_CAPS_pubmethodGetLoadedModules()

Gets all the loaded modules that are part of this assembly.(Inherited from Assembly.)

System_CAPS_pubmethodGetLoadedModules(Boolean)

Returns all the loaded modules that are part of this assembly, and optionally includes resource modules.(Overrides Assembly.GetLoadedModules(Boolean).)

System_CAPS_pubmethodGetManifestResourceInfo(String)

Returns information about how the given resource has been persisted.(Overrides Assembly.GetManifestResourceInfo(String).)

System_CAPS_pubmethodGetManifestResourceNames()

Loads the specified manifest resource from this assembly.(Overrides Assembly.GetManifestResourceNames().)

System_CAPS_pubmethodGetManifestResourceStream(String)

Loads the specified manifest resource from this assembly.(Overrides Assembly.GetManifestResourceStream(String).)

System_CAPS_pubmethodGetManifestResourceStream(Type, String)

Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.(Overrides Assembly.GetManifestResourceStream(Type, String).)

System_CAPS_pubmethodGetModule(String)

Gets the specified module in this assembly.(Overrides Assembly.GetModule(String).)

System_CAPS_pubmethodGetModules()

Gets all the modules that are part of this assembly.(Inherited from Assembly.)

System_CAPS_pubmethodGetModules(Boolean)

Gets all the modules that are part of this assembly, and optionally includes resource modules.(Overrides Assembly.GetModules(Boolean).)

System_CAPS_pubmethodGetName()

Gets an AssemblyName for this assembly.(Inherited from Assembly.)

System_CAPS_pubmethodGetName(Boolean)

Gets the AssemblyName that was specified when the current dynamic assembly was created, and sets the code base as specified.(Overrides Assembly.GetName(Boolean).)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Gets serialization information with all of the data needed to reinstantiate this assembly.(Inherited from Assembly.)

System_CAPS_pubmethodGetReferencedAssemblies()

Gets an incomplete list of AssemblyName objects for the assemblies that are referenced by this AssemblyBuilder. (Overrides Assembly.GetReferencedAssemblies().)

System_CAPS_pubmethodGetSatelliteAssembly(CultureInfo)

Gets the satellite assembly for the specified culture.(Overrides Assembly.GetSatelliteAssembly(CultureInfo).)

System_CAPS_pubmethodGetSatelliteAssembly(CultureInfo, Version)

Gets the specified version of the satellite assembly for the specified culture.(Overrides Assembly.GetSatelliteAssembly(CultureInfo, Version).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetType(String)

Gets the Type object with the specified name in the assembly instance.(Inherited from Assembly.)

System_CAPS_pubmethodGetType(String, Boolean)

Gets the Type object with the specified name in the assembly instance and optionally throws an exception if the type is not found.(Inherited from Assembly.)

System_CAPS_pubmethodGetType(String, Boolean, Boolean)

Gets the specified type from the types that have been defined and created in the current AssemblyBuilder.(Overrides Assembly.GetType(String, Boolean, Boolean).)

System_CAPS_pubmethodGetTypes()

Gets the types defined in this assembly.(Inherited from Assembly.)

System_CAPS_pubmethodIsDefined(Type, Boolean)

Returns a value that indicates whether one or more instances of the specified attribute type is applied to this member.(Overrides Assembly.IsDefined(Type, Boolean).)

System_CAPS_pubmethodLoadModule(String, Byte[])

Loads the module, internal to this assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file.(Inherited from Assembly.)

System_CAPS_pubmethodLoadModule(String, Byte[], Byte[])

Loads the module, internal to this assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file. The raw bytes representing the symbols for the module are also loaded.(Inherited from Assembly.)

System_CAPS_pubmethodSave(String)

Saves this dynamic assembly to disk.

System_CAPS_pubmethodSave(String, PortableExecutableKinds, ImageFileMachine)

Saves this dynamic assembly to disk, specifying the nature of code in the assembly's executables and the target platform.

System_CAPS_pubmethodSetCustomAttribute(ConstructorInfo, Byte[])

Set a custom attribute on this assembly using a specified custom attribute blob.

System_CAPS_pubmethodSetCustomAttribute(CustomAttributeBuilder)

Set a custom attribute on this assembly using a custom attribute builder.

System_CAPS_pubmethodSetEntryPoint(MethodInfo)

Sets the entry point for this dynamic assembly, assuming that a console application is being built.

System_CAPS_pubmethodSetEntryPoint(MethodInfo, PEFileKinds)

Sets the entry point for this assembly and defines the type of the portable executable (PE file) being built.

System_CAPS_pubmethodToString()

Returns the full name of the assembly, also known as the display name.(Inherited from Assembly.)

NameDescription
System_CAPS_pubmethodGetCustomAttribute(Type)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified assembly.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>()

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified assembly.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes()

Overloaded. Retrieves a collection of custom attributes that are applied to a specified assembly.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes(Type)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodIsDefined(Type)

Overloaded. Indicates whether custom attributes of a specified type are applied to a specified assembly.(Defined by CustomAttributeExtensions.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethod_Assembly.GetType()

Returns the type of the current instance.(Inherited from Assembly.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AssemblyBuilder.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AssemblyBuilder.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AssemblyBuilder.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AssemblyBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

Return to top
Show: