25using System.Collections.Generic;
26using System.Reflection.Metadata;
34 readonly Assembly assembly;
43 base(assembly.Universe)
45 this.assembly = assembly;
51 get {
throw new MissingModuleException(
this); }
54 public override Assembly Assembly
56 get {
return assembly; }
61 get {
throw new MissingModuleException(
this); }
64 public override string Name
69 throw new MissingModuleException(
this);
71 return assembly.ManifestModule.GetString(assembly.ManifestModule.FileTable.records[index].Name);
77 get {
throw new MissingModuleException(
this); }
82 get {
throw new MissingModuleException(
this); }
85 internal override Type FindType(
TypeName typeName)
90 internal override Type FindTypeIgnoreCase(TypeName lowerCaseName)
95 internal override void GetTypesImpl(List<Type> list)
97 throw new MissingModuleException(
this);
102 throw new MissingModuleException(
this);
107 throw new MissingModuleException(
this);
112 throw new MissingModuleException(
this);
117 throw new MissingModuleException(
this);
122 get {
throw new MissingModuleException(
this); }
127 throw new MissingModuleException(
this);
130 public override void GetPEKind(out PortableExecutableKinds peKind, out ImageFileMachine machine)
132 throw new MissingModuleException(
this);
142 return new MissingModuleException(
this);
147 return new MissingModuleException(
this);
152 return new MissingModuleException(
this);
160 throw new MissingModuleException(
this);
161 if (assembly.ManifestModule.FileTable.records[index].HashValue.IsNil)
164 var br = assembly.ManifestModule.GetBlobReader(assembly.ManifestModule.FileTable.records[index].HashValue);
165 return br.ReadBytes(br.Length);
IKVM.Reflection.Type Type
global::java.lang.invoke.LambdaForm.Name Name
override void __GetDataDirectoryEntry(int index, out int rva, out int length)
override string FullyQualifiedName
override Guid ModuleVersionId
override Exception InvalidOperationException()
override byte[] __ModuleHash
override void GetPEKind(out PortableExecutableKinds peKind, out ImageFileMachine machine)
override __StandAloneMethodSig __ResolveStandAloneMethodSig(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
override bool __IsMissing
override IList< CustomAttributeData > __GetPlaceholderAssemblyCustomAttributes(bool multiple, bool security)
override string ScopeName
override long __RelativeVirtualAddressToFileOffset(int rva)
override Exception NotSupportedException()
override int MDStreamVersion
override Exception ArgumentOutOfRangeException()