private bool NeedToBeFiltered(TypeDefinition typeDefinition, MethodReference method)
 {
     try
     {
         return method.IsGeneratedCode();
     } catch(AssemblyResolutionException)
     {
         // third party library not found
         // we assume the code is not generated
         return false;
     }
 }