AssemblyBuilder.Location Property


Gets the location, in codebase format, of the loaded file that contains the manifest if it is not shadow-copied.

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

public override string Location { get; }

Property Value

Type: System.String

The location of the loaded file that contains the manifest. If the loaded file has been shadow-copied, the Location is that of the file before being shadow-copied.

Exception Condition

This method is not currently supported.


The caller does not have the required permission.


when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess.

.NET Framework
Available since 1.1
Available since 2.0
Return to top