Assembly.IsDynamic Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the current assembly was generated dynamically in the current process by using reflection emit.
public:
virtual property bool IsDynamic { bool get(); };
public virtual bool IsDynamic { get; }
member this.IsDynamic : bool
Public Overridable ReadOnly Property IsDynamic As Boolean
Property Value
true
if the current assembly was generated dynamically in the current process; otherwise, false
.
Remarks
Dynamic assemblies are represented by the derived class AssemblyBuilder.
When a dynamic assembly is saved to disk, the saved assembly is not dynamic. If the saved assembly is loaded into another application domain or process, the IsDynamic property returns false
.