Beispiel #1
0
 /// <summary>
 /// Main method of the generator. Look in every referenced assemblies to find the unsupported methods and types
 /// </summary>
 public void Run()
 {
     Init();
     foreach (string assembly in _referencedAssembliesToLookInto)
     {
         Dictionary <string, HashSet <string> > unsupportedMethods;
         _unsupportedMethodsInfo.TryGetValue(assembly, out unsupportedMethods);
         if (unsupportedMethods != null)
         {
             AssemblyDefinition assemblyToLookInto = CompatibilityAnalyzer.LoadAssembly(Path.Combine(_referencedAssembliesFolderPath, assembly + ".dll"), Configuration.mscorlibFolderPath);
             _assemblyAnalyzer.Set(assemblyToLookInto, unsupportedMethods);
             _assemblyAnalyzer.Run();
         }
     }
     GenerateAddtionalUnsupportedTypes();
 }