diff --git a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj index 1f573d07a..864bc5f3a 100644 --- a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj +++ b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj @@ -57,7 +57,7 @@ - + diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index cabf65180..089b59f6f 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -175,6 +175,13 @@ namespace ICSharpCode.ILSpy.ReadyToRun LoadedAssembly loadedAssembly = this.loadedAssembly.LookupReferencedAssembly(new Decompiler.Metadata.AssemblyReference(metadataReader, assemblyReferenceHandle)); return loadedAssembly?.GetPEFileOrNull()?.Metadata; } + + public MetadataReader FindAssembly(string simpleName, string parentFile) + { + // This is called only for the composite R2R scenario, + // So it will never be called before the feature is released. + throw new NotSupportedException("Composite R2R format is not currently supported"); + } } private class ReadyToRunReaderCacheEntry