public AssemblyDefinitionCachedData(AssemblyDefinition assemblyDefinition)
            {
                AssemblyDefinition = assemblyDefinition ?? throw new ArgumentNullException(nameof(assemblyDefinition));

                AllTypes   = assemblyDefinition.MainModule.GetAllTypes().ToList();
                AllMethods = AllTypes.SelectMany(type => type.Methods).ToList();
            }