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

Public Member Functions

override void __GetDataDirectoryEntry (int index, out int rva, out int length)
 
override IList< CustomAttributeData > __GetPlaceholderAssemblyCustomAttributes (bool multiple, bool security)
 
override long __RelativeVirtualAddressToFileOffset (int rva)
 
override __StandAloneMethodSig __ResolveStandAloneMethodSig (int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
 
override void GetPEKind (out PortableExecutableKinds peKind, out ImageFileMachine machine)
 
- 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 InvalidOperationException ()
 
override Exception NotSupportedException ()
 
override Exception ArgumentOutOfRangeException ()
 
- Protected Member Functions inherited from IKVM.Reflection.NonPEModule
 NonPEModule (Universe universe)
 Initializes a new instance.
 
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 Guid ModuleVersionId [get]
 
override string ScopeName [get]
 
override int __Subsystem [get]
 
override bool __IsMissing [get]
 
override byte[] __ModuleHash [get]
 

Detailed Description

Definition at line 31 of file MissingModule.cs.

Member Function Documentation

◆ __GetDataDirectoryEntry()

override void IKVM.Reflection.MissingModule.__GetDataDirectoryEntry ( int index,
out int rva,
out int length )

Definition at line 100 of file MissingModule.cs.

101 {
102 throw new MissingModuleException(this);
103 }

◆ __GetPlaceholderAssemblyCustomAttributes()

override IList< CustomAttributeData > IKVM.Reflection.MissingModule.__GetPlaceholderAssemblyCustomAttributes ( bool multiple,
bool security )

Definition at line 105 of file MissingModule.cs.

106 {
107 throw new MissingModuleException(this);
108 }

◆ __RelativeVirtualAddressToFileOffset()

override long IKVM.Reflection.MissingModule.__RelativeVirtualAddressToFileOffset ( int rva)

Definition at line 110 of file MissingModule.cs.

111 {
112 throw new MissingModuleException(this);
113 }

◆ __ResolveStandAloneMethodSig()

override __StandAloneMethodSig IKVM.Reflection.MissingModule.__ResolveStandAloneMethodSig ( int metadataToken,
Type[] genericTypeArguments,
Type[] genericMethodArguments )

Definition at line 115 of file MissingModule.cs.

116 {
117 throw new MissingModuleException(this);
118 }

◆ ArgumentOutOfRangeException()

override Exception IKVM.Reflection.MissingModule.ArgumentOutOfRangeException ( )
protectedvirtual

Reimplemented from IKVM.Reflection.NonPEModule.

Definition at line 150 of file MissingModule.cs.

151 {
152 return new MissingModuleException(this);
153 }

◆ GetPEKind()

override void IKVM.Reflection.MissingModule.GetPEKind ( out PortableExecutableKinds peKind,
out ImageFileMachine machine )

Definition at line 130 of file MissingModule.cs.

131 {
132 throw new MissingModuleException(this);
133 }

◆ InvalidOperationException()

override Exception IKVM.Reflection.MissingModule.InvalidOperationException ( )
protectedvirtual

Reimplemented from IKVM.Reflection.NonPEModule.

Definition at line 140 of file MissingModule.cs.

141 {
142 return new MissingModuleException(this);
143 }

◆ NotSupportedException()

override Exception IKVM.Reflection.MissingModule.NotSupportedException ( )
protectedvirtual

Reimplemented from IKVM.Reflection.NonPEModule.

Definition at line 145 of file MissingModule.cs.

146 {
147 return new MissingModuleException(this);
148 }

Property Documentation

◆ __IsMissing

override bool IKVM.Reflection.MissingModule.__IsMissing
get

Definition at line 135 of file MissingModule.cs.

136 {
137 get { return true; }
138 }

◆ __ModuleHash

override byte [] IKVM.Reflection.MissingModule.__ModuleHash
get

Definition at line 155 of file MissingModule.cs.

156 {
157 get
158 {
159 if (index == -1)
160 throw new MissingModuleException(this);
161 if (assembly.ManifestModule.FileTable.records[index].HashValue.IsNil)
162 return null;
163
164 var br = assembly.ManifestModule.GetBlobReader(assembly.ManifestModule.FileTable.records[index].HashValue);
165 return br.ReadBytes(br.Length);
166 }
167 }

◆ __Subsystem

override int IKVM.Reflection.MissingModule.__Subsystem
get

Definition at line 120 of file MissingModule.cs.

121 {
122 get { throw new MissingModuleException(this); }
123 }

◆ Assembly

override Assembly IKVM.Reflection.MissingModule.Assembly
get

Definition at line 54 of file MissingModule.cs.

55 {
56 get { return assembly; }
57 }

◆ FullyQualifiedName

override string IKVM.Reflection.MissingModule.FullyQualifiedName
get

Definition at line 59 of file MissingModule.cs.

60 {
61 get { throw new MissingModuleException(this); }
62 }

◆ MDStreamVersion

override int IKVM.Reflection.MissingModule.MDStreamVersion
get

Definition at line 49 of file MissingModule.cs.

50 {
51 get { throw new MissingModuleException(this); }
52 }

◆ ModuleVersionId

override Guid IKVM.Reflection.MissingModule.ModuleVersionId
get

Definition at line 75 of file MissingModule.cs.

76 {
77 get { throw new MissingModuleException(this); }
78 }

◆ Name

override string IKVM.Reflection.MissingModule.Name
get

Definition at line 64 of file MissingModule.cs.

65 {
66 get
67 {
68 if (index == -1)
69 throw new MissingModuleException(this);
70
71 return assembly.ManifestModule.GetString(assembly.ManifestModule.FileTable.records[index].Name);
72 }
73 }

◆ ScopeName

override string IKVM.Reflection.MissingModule.ScopeName
get

Definition at line 80 of file MissingModule.cs.

81 {
82 get { throw new MissingModuleException(this); }
83 }

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