Skip to content

Rethink how SubStepsDispatcher is used to mark types and assemblies #1735

@marek-safar

Description

@marek-safar

As part of #1164 work we need to rethink how we are going to allow custom steps to mark additional elements either conditionally or unconditionally. Currently, many custom steps are run before mark as BaseSubStep called via SubStepsDispatcher which means they assume that context.GetAssemblies () returns full assemblies set. This needs to change if we want to really delay load assemblies.

The logic inside these custom sub-steps is usually something that marks type or type members when the type is found. Here are a few examples

It seems like if we had a solution on how to run additional marking logic for types and members conditionally we could convert these SubSteps into something that does not need GetAssemblies call.

@vitek-karas @sbomer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions