HierarchyImplementsIFreezable() public method

public HierarchyImplementsIFreezable ( TypeReference typeReference ) : TypeDefinition
typeReference TypeReference
return TypeDefinition
示例#1
0
    public void Execute(List <TypeDefinition> classes)
    {
        foreach (var type in classes)
        {
            var baseType = implementsInterfaceFinder.HierarchyImplementsIFreezable(type);
            if (baseType == null)
            {
                continue;
            }
            var checkMethod = freezeCheckerInjector.Execute(baseType);

            var typeProcessor = new TypeProcessor(logInfo, checkMethod, type);
            typeProcessor.Execute();
        }
    }