IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.CoreLib.Symbols.IAssemblySymbol Interface Reference

Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application. More...

Inheritance diagram for IKVM.CoreLib.Symbols.IAssemblySymbol:
IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol

Public Member Functions

ITypeSymbol[] GetExportedTypes ()
 Gets the public types defined in this assembly that are visible outside the assembly.
 
IModuleSymbolGetModule (string name)
 Gets the specified module in this assembly.
 
ImmutableArray< IModuleSymbolGetModules ()
 Gets all the modules that are part of this assembly.
 
ImmutableArray< IModuleSymbolGetModules (bool getResourceModules)
 Gets all the modules that are part of this assembly, specifying whether to include resource modules.
 
AssemblyName GetName ()
 Gets an AssemblyName for this assembly.
 
ImmutableArray< AssemblyNameGetReferencedAssemblies ()
 Gets the AssemblyName objects for all the assemblies referenced by this assembly.
 
ITypeSymbolGetType (string name)
 Gets the ITypeSymbol object with the specified name in the assembly instance.
 
ITypeSymbolGetType (string name, bool throwOnError)
 Gets the ITypeSymbol object with the specified name in the assembly instance and optionally throws an exception if the type is not found.
 
ITypeSymbol[] GetTypes ()
 Gets all types defined in this assembly.
 
- Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider
ImmutableArray< CustomAttributeSymbolGetCustomAttributes ()
 Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
 
ImmutableArray< CustomAttributeSymbolGetCustomAttributes (ITypeSymbol attributeType)
 Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.
 
bool IsDefined (ITypeSymbol attributeType)
 Indicates whether one or more instance of attributeType is defined on this member.
 

Properties

IEnumerable< ITypeSymbolDefinedTypes [get]
 Gets a collection of the types defined in this assembly.
 
IMethodSymbolEntryPoint [get]
 Gets the entry point of this assembly.
 
IEnumerable< ITypeSymbolExportedTypes [get]
 Gets a collection of the public types defined in this assembly that are visible outside the assembly.
 
string? FullName [get]
 Gets the display name of the assembly.
 
IModuleSymbol ManifestModule [get]
 Gets the module that contains the manifest for the current assembly.
 
IEnumerable< IModuleSymbolModules [get]
 Gets a collection that contains the modules in this assembly.
 
- Properties inherited from IKVM.CoreLib.Symbols.ISymbol
bool IsMissing [get]
 Returns true if the symbol is missing.
 

Detailed Description

Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.

Definition at line 11 of file IAssemblySymbol.cs.

Member Function Documentation

◆ GetExportedTypes()

ITypeSymbol[] IKVM.CoreLib.Symbols.IAssemblySymbol.GetExportedTypes ( )

Gets the public types defined in this assembly that are visible outside the assembly.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetModule()

IModuleSymbol? IKVM.CoreLib.Symbols.IAssemblySymbol.GetModule ( string name)

Gets the specified module in this assembly.

Parameters
name
Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetModules() [1/2]

ImmutableArray< IModuleSymbol > IKVM.CoreLib.Symbols.IAssemblySymbol.GetModules ( )

Gets all the modules that are part of this assembly.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetModules() [2/2]

ImmutableArray< IModuleSymbol > IKVM.CoreLib.Symbols.IAssemblySymbol.GetModules ( bool getResourceModules)

Gets all the modules that are part of this assembly, specifying whether to include resource modules.

Parameters
getResourceModules
Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetName()

AssemblyName IKVM.CoreLib.Symbols.IAssemblySymbol.GetName ( )

◆ GetReferencedAssemblies()

ImmutableArray< AssemblyName > IKVM.CoreLib.Symbols.IAssemblySymbol.GetReferencedAssemblies ( )

Gets the AssemblyName objects for all the assemblies referenced by this assembly.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetType() [1/2]

ITypeSymbol? IKVM.CoreLib.Symbols.IAssemblySymbol.GetType ( string name)

Gets the ITypeSymbol object with the specified name in the assembly instance.

Parameters
name
Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetType() [2/2]

ITypeSymbol? IKVM.CoreLib.Symbols.IAssemblySymbol.GetType ( string name,
bool throwOnError )

Gets the ITypeSymbol object with the specified name in the assembly instance and optionally throws an exception if the type is not found.

Parameters
name
throwOnError
Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

◆ GetTypes()

ITypeSymbol[] IKVM.CoreLib.Symbols.IAssemblySymbol.GetTypes ( )

Property Documentation

◆ DefinedTypes

IEnumerable<ITypeSymbol> IKVM.CoreLib.Symbols.IAssemblySymbol.DefinedTypes
get

Gets a collection of the types defined in this assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 17 of file IAssemblySymbol.cs.

17{ get; }

◆ EntryPoint

IMethodSymbol? IKVM.CoreLib.Symbols.IAssemblySymbol.EntryPoint
get

Gets the entry point of this assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 22 of file IAssemblySymbol.cs.

22{ get; }

◆ ExportedTypes

IEnumerable<ITypeSymbol> IKVM.CoreLib.Symbols.IAssemblySymbol.ExportedTypes
get

Gets a collection of the public types defined in this assembly that are visible outside the assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 27 of file IAssemblySymbol.cs.

27{ get; }

◆ FullName

string? IKVM.CoreLib.Symbols.IAssemblySymbol.FullName
get

Gets the display name of the assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 32 of file IAssemblySymbol.cs.

32{ get; }

◆ ManifestModule

IModuleSymbol IKVM.CoreLib.Symbols.IAssemblySymbol.ManifestModule
get

Gets the module that contains the manifest for the current assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 37 of file IAssemblySymbol.cs.

37{ get; }

◆ Modules

IEnumerable<IModuleSymbol> IKVM.CoreLib.Symbols.IAssemblySymbol.Modules
get

Gets a collection that contains the modules in this assembly.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionAssemblySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionAssemblySymbol.

Definition at line 42 of file IAssemblySymbol.cs.

42{ get; }

The documentation for this interface was generated from the following file: