GetGacPaths() static private method

static private GetGacPaths ( ) : Collection
return Collection
Esempio n. 1
0
 private AssemblyDefinition GetAssemblyInGac(AssemblyNameReference reference, ReaderParameters parameters)
 {
     if (reference.PublicKeyToken == null || reference.PublicKeyToken.Length == 0)
     {
         return(null);
     }
     if (this.gac_paths == null)
     {
         this.gac_paths = BaseAssemblyResolver.GetGacPaths();
     }
     if (BaseAssemblyResolver.on_mono)
     {
         return(this.GetAssemblyInMonoGac(reference, parameters));
     }
     return(this.GetAssemblyInNetGac(reference, parameters));
 }