Beispiel #1
0
        private IEnumerable <string> GetNonUsedTypes()
        {
            var weavedTypes = MethodsFoundInWeavedLibs.Select(Stringifier.GetTypePart).Distinct().ToArray();
            var loggedTypes = LoggedMethods.Select(Stringifier.GetTypePart).Distinct().ToArray();

            return(weavedTypes.Except(loggedTypes));
        }
Beispiel #2
0
        public bool NeedToDeleteMethod(string method)
        {
            bool called            = LoggedMethods.Contains(method);
            bool foundInWeavedLibs = MethodsFoundInWeavedLibs.Contains(method);

            return(!called && foundInWeavedLibs);
        }
Beispiel #3
0
 public bool MethodFoundInWeavedLibs(string method)
 {
     return(MethodsFoundInWeavedLibs.Contains(method));
 }