public CompilerMetadataReference?Resolve(IAssembly asmRef) { ModuleDef sourceModule = null; var asm = assemblyResolver.Resolve(asmRef, sourceModule ?? defaultSourceModule); if (asm == null) { return(null); } return(CompilerMetadataReferenceCreator.Create(asm.ManifestModule, makeEverythingPublic)); }
public CompilerMetadataReference?Resolve(IAssembly asmRef) { ModuleDef sourceModule = null; var asm = assemblyResolver.Resolve(asmRef, sourceModule ?? defaultSourceModule); if (asm == null) { return(null); } return(CompilerMetadataReferenceCreator.Create(rawModuleBytesProvider, tempAssembly, asm.ManifestModule, nonNestedEditedTypeOrNull, makeEverythingPublic)); }
public CompilerMetadataReference?Create(ModuleDef module) => CompilerMetadataReferenceCreator.Create(module, makeEverythingPublic);
public CompilerMetadataReference?Create(AssemblyDef asm) => CompilerMetadataReferenceCreator.Create(asm.ManifestModule, makeEverythingPublic);
public CompilerMetadataReference?Create(ModuleDef module) => CompilerMetadataReferenceCreator.Create(rawModuleBytesProvider, module, makeEverythingPublic);
public CompilerMetadataReference?Create(ModuleDef module) => CompilerMetadataReferenceCreator.Create(rawModuleBytesProvider, tempAssembly, module, nonNestedEditedTypeOrNull, makeEverythingPublic);