Catel.Fody.CodeGenTypeCleaner.Process C# (CSharp) Method

Process() private method

private Process ( List catelTypes ) : void
catelTypes List
return void
        private void Process(List<CatelType> catelTypes)
        {
            foreach (var catelType in catelTypes.ToList())
            {
                var customAttributes = catelType.TypeDefinition.CustomAttributes;
                if (customAttributes.ContainsAttribute("System.Runtime.CompilerServices.CompilerGeneratedAttribute"))
                {
                    catelTypes.Remove(catelType);
                    continue;
                }
            }
        }