System.Reflection.MetadataLoadContext Provides the base class for binding algorithms used by . Initializes an instance of . Returns an assembly from a given assembly name. The metadata load context object that represents the closed universe of objects loaded for inspection-only purposes. The name of the assembly. The assembly for the provided . Represents a closed universe of Type objects loaded for inspection-only purposes. Each MetadataLoadContext can have its own binding rules and is isolated from all other MetadataLoadContexts. Creates a new object. A instance. The name of the assembly that contains the core types such as . Typically, this would be "mscorlib". Releases any native resources (such as file locks on assembly files). Return an atomic snapshot of the assemblies that have been loaded into the . An enumerable collection of objects. Resolves the supplied assembly name to an assembly. If an assembly was previously bound to this name, that assembly is returned. Otherwise, the calls the specified . An instance. The resolver returns . An instance. Resolves the supplied assembly name to an assembly. If an assembly was previously bound to this name, that assembly is returned. Otherwise, the calls the specified . A representing the assembly name. The resolver returns . An instance. Loads an assembly from a specific path on the disk and binds its assembly name to it in the . If a prior assembly with the same name was already loaded into the , the prior assembly will be returned. A representing the path to the assembly. The two assemblies do not have the same Mvid. An instance. Loads an assembly from a byte array and binds its assembly name to it in the . If a prior assembly with the same name was already loaded into the , the prior assembly will be returned. A byte array holding an assembly. The two assemblies do not have the same Mvid. An instance. Loads an assembly from a stream and binds its assembly name to it in the . If a prior assembly with the same name was already loaded into the , the prior assembly will be returned. A holding an assembly. The two assemblies do not have the same Mvid. The loaded assembly. Gets or sets the assembly that denotes the "system assembly" that houses the well-known types such as . An instance. Represents a metadata assembly resolver that uses paths to every assembly that may be loaded. Initializes a new instance of the class. A collection of assembly path strings. is . One of the paths in is invalid. Returns an assembly from a given assembly name. The metadata load context object that represents the closed universe of objects loaded for inspection-only purposes. The name of the assembly. The assembly for the provided .