internal static List <DelegateTypeInformation> GetDelegateTypeInformations(ClrDump clrDump) { var types = GetDelegateTypes(clrDump); var typeInformations = new List <DelegateTypeInformation>(); foreach (var type in types) { var count = clrDump.CountInstances(type); var targets = CountTargets(clrDump, type); var delegateInformation = new DelegateTypeInformation(clrDump, type, count, targets); typeInformations.Add(delegateInformation); } return(typeInformations); }
internal static List<DelegateTypeInformation> GetDelegateTypeInformations(ClrDump clrDump) { var types = GetDelegateTypes(clrDump); var typeInformations = new List<DelegateTypeInformation>(); foreach(var type in types) { var count = clrDump.CountInstances(type); var targets = CountTargets(clrDump, type); var delegateInformation = new DelegateTypeInformation(clrDump, type, count, targets); typeInformations.Add(delegateInformation); } return typeInformations; }