IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Reflection.Reader.ResourceModule Class Referencesealed
Inheritance diagram for IKVM.Reflection.Reader.ResourceModule:
IKVM.Reflection.NonPEModule

Public Member Functions

override bool IsResource ()
 
- Public Member Functions inherited from IKVM.Reflection.NonPEModule
override AssemblyName[] __GetReferencedAssemblies ()
 
override string[] __GetReferencedModules ()
 
override Type[] __GetReferencedTypes ()
 
override Type[] __GetExportedTypes ()
 
override MethodBase ResolveMethod (int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
 
override FieldInfo ResolveField (int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
 
override MemberInfo ResolveMember (int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
 
override string ResolveString (int metadataToken)
 
override Type[] __ResolveOptionalParameterTypes (int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments, out CustomModifiers[] customModifiers)
 

Protected Member Functions

override Exception ArgumentOutOfRangeException ()
 
- Protected Member Functions inherited from IKVM.Reflection.NonPEModule
 NonPEModule (Universe universe)
 Initializes a new instance.
 
virtual Exception InvalidOperationException ()
 
virtual Exception NotSupportedException ()
 
override ulong GetImageBaseImpl ()
 
override ulong GetStackReserveImpl ()
 
override uint GetFileAlignmentImpl ()
 
override DllCharacteristics GetDllCharacteristicsImpl ()
 

Properties

override int MDStreamVersion [get]
 
override Assembly Assembly [get]
 
override string FullyQualifiedName [get]
 
override string Name [get]
 
override string ScopeName [get]
 
override Guid ModuleVersionId [get]
 
override byte[] __ModuleHash [get]
 

Detailed Description

Definition at line 30 of file ResourceModule.cs.

Member Function Documentation

◆ ArgumentOutOfRangeException()

override Exception IKVM.Reflection.Reader.ResourceModule.ArgumentOutOfRangeException ( )
protectedvirtual

Reimplemented from IKVM.Reflection.NonPEModule.

Definition at line 109 of file ResourceModule.cs.

110 {
111 return new NotSupportedException();
112 }
virtual Exception NotSupportedException()

◆ IsResource()

override bool IKVM.Reflection.Reader.ResourceModule.IsResource ( )

Definition at line 56 of file ResourceModule.cs.

57 {
58 return true;
59 }

Property Documentation

◆ __ModuleHash

override byte [] IKVM.Reflection.Reader.ResourceModule.__ModuleHash
get

Definition at line 86 of file ResourceModule.cs.

87 {
88 get
89 {
90 var blob = manifest.FileTable.records[index].HashValue;
91 return blob.IsNil ? Array.Empty<byte>() : manifest.GetBlobCopy(blob);
92 }
93 }

◆ Assembly

override Assembly IKVM.Reflection.Reader.ResourceModule.Assembly
get

Definition at line 61 of file ResourceModule.cs.

62 {
63 get { return manifest.Assembly; }
64 }

◆ FullyQualifiedName

override string IKVM.Reflection.Reader.ResourceModule.FullyQualifiedName
get

Definition at line 66 of file ResourceModule.cs.

67 {
68 get { return location ?? "<Unknown>"; }
69 }

◆ MDStreamVersion

override int IKVM.Reflection.Reader.ResourceModule.MDStreamVersion
get

Definition at line 51 of file ResourceModule.cs.

52 {
53 get { throw new NotSupportedException(); }
54 }

◆ ModuleVersionId

override Guid IKVM.Reflection.Reader.ResourceModule.ModuleVersionId
get

Definition at line 81 of file ResourceModule.cs.

82 {
83 get { throw new NotSupportedException(); }
84 }

◆ Name

override string IKVM.Reflection.Reader.ResourceModule.Name
get

Definition at line 71 of file ResourceModule.cs.

72 {
73 get { return location == null ? "<Unknown>" : System.IO.Path.GetFileName(location); }
74 }

◆ ScopeName

override string IKVM.Reflection.Reader.ResourceModule.ScopeName
get

Definition at line 76 of file ResourceModule.cs.

77 {
78 get { return manifest.GetString(manifest.FileTable.records[index].Name); }
79 }

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