AssemblyIdentity.FromAssemblyDefinition(Assembly) Method
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.
Retrieves assembly definition identity from given runtime assembly.
public:
static Microsoft::CodeAnalysis::AssemblyIdentity ^ FromAssemblyDefinition(System::Reflection::Assembly ^ assembly);
public static Microsoft.CodeAnalysis.AssemblyIdentity FromAssemblyDefinition (System.Reflection.Assembly assembly);
static member FromAssemblyDefinition : System.Reflection.Assembly -> Microsoft.CodeAnalysis.AssemblyIdentity
Public Shared Function FromAssemblyDefinition (assembly As Assembly) As AssemblyIdentity
Parameters
- assembly
- Assembly
The runtime assembly.
Returns
Assembly definition identity.
Exceptions
assembly
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.