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));
        }
Beispiel #2
0
        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);
Beispiel #5
0
 public CompilerMetadataReference?Create(ModuleDef module) =>
 CompilerMetadataReferenceCreator.Create(rawModuleBytesProvider, module, makeEverythingPublic);
Beispiel #6
0
 public CompilerMetadataReference?Create(ModuleDef module) =>
 CompilerMetadataReferenceCreator.Create(rawModuleBytesProvider, tempAssembly, module, nonNestedEditedTypeOrNull, makeEverythingPublic);