public ScopeAnalysis(IMetadataHost host, IAssembly assembly, ISourceLocationProvider sourceLocationProvider, IEnumerable <IAssembly> refAssemblies, IEnumerable <string> ips) { this.mhost = host; this.myScopeRuntimeLoader = new RuntimeLoader.RuntimeLoader(host); this.assembly = assembly; this.refAssemblies = refAssemblies; this.sourceLocationProvider = sourceLocationProvider; interestingProcessors = ips; this.LoadRuntimeTypes(assembly); }
public MyLoader(MetadataReaderHost host, string directory) { this.cciHost = host; this.myRuntimeLoader = new RuntimeLoader.RuntimeLoader(host); sourceProviderForAssembly = new Dictionary <IAssembly, ISourceLocationProvider>(); if (PlatformTypes == null) { PlatformTypes = host.PlatformType; } this.failedAssemblies = new HashSet <IAssemblyReference>(); //LoadCoreAssembly(); LoadRuntimeTypes(directory); }