示例#1
0
 public override ModuleSpecificContext GetModuleContext(ModuleDefinition module, ILanguage language)
 {
     if (this.cacheService.IsModuleContextInCache(module, language, this.renameInvalidMembers))
     {
         return(this.cacheService.GetModuleContextFromCache(module, language, this.renameInvalidMembers));
     }
     V_0 = this.GetModuleNamespaceUsings(module);
     V_1 = new Dictionary <string, List <string> >();
     V_2 = new Dictionary <string, HashSet <string> >();
     V_3 = new Dictionary <string, string>();
     V_4 = this.GetMemberRenamingData(module, language);
     V_5 = new ModuleSpecificContext(module, V_0, V_1, V_2, V_3, V_4.get_RenamedMembers(), V_4.get_RenamedMembersMap());
     this.cacheService.AddModuleContextToCache(module, language, this.renameInvalidMembers, V_5);
     return(V_5);
 }